Font.charWidth

Warning gdk_char_width has been deprecated since version 2.2 and should not be used in newly-written code. Use gdk_text_extents() instead. Determines the width of a given character.

class Font
int
charWidth
()

Parameters

character char

the character to measure.

Return Value

Type: int

the width of the character in pixels.

Meta