get_approximate_char_width


Description:

public int get_approximate_char_width ()

Gets the approximate character width for a font metrics structure.

This is merely a representative value useful, for example, for determining the initial size for a window. Actual characters in text will be wider and narrower than this.

Parameters:

this

a `PangoFontMetrics` structure

Returns:

the character width, in Pango units.