Font.stringWidth

Warning gdk_string_width is deprecated and should not be used in newly-written code. Determines the width of a nul-terminated string. (The distance from the origin of the string to the point where the next string in a sequence of strings should be drawn)

class Font
int
stringWidth
(
string string
)

Parameters

string string

the nul-terminated string to measure

Return Value

Type: int

the width of the string in pixels.

Meta