Extracted from Pike v7.3 release 14 at 2002-02-15.
pike.roxen.com
[Top]
GTK
GTK.DrawingArea

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.