Drawable.drawText

Warning gdk_draw_text has been deprecated since version 2.4 and should not be used in newly-written code. Use gdk_draw_layout() instead. Draws a number of characters in the given font or fontset.

class Drawable
void
drawText
(,,
int x
,
int y
,
string text
,)

Parameters

font Font

a GdkFont.

gc GC

a GdkGC.

x int

the x coordinate of the left edge of the text.

y int

the y coordinate of the baseline of the text.

text string

the characters to draw.

textLength int

the number of characters of text to draw.

Meta