pike.hubbe.net

[Top]
GTK
GTK.DrawingArea
previousGTK.DrawingArea()->draw_rectangle() GTK.DrawingArea()->size()next

Method GTK.DrawingArea()->draw_text()


Method draw_text

object(GTK.DrawingArea) GTK.DrawingArea()->draw_text(object(GDK.GC) gc, object(GDK.Font) font, int x, int y, string text, int forcewide)

Description

y is used as the baseline for the text. If forcewide is true, the string will be expanded to a wide string even if it is not already one. This is useful when writing text using either unicode or some other 16 bit font.


Extracted from Pike v7.3 release 11 at 2001-11-03.