Drawable.drawString

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

class Drawable
void
drawString
(,,
int x
,
int y
,
string string
)

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.

string string

the string of characters to draw.

Meta