Pango.FontsetSimple - Classes - Pango 1.0 (original) (raw)
g GObject.Object GObject.Object Pango.Fontset Pango.Fontset GObject.Object->Pango.Fontset Pango.FontsetSimple Pango.FontsetSimple Pango.Fontset->Pango.FontsetSimple
Subclasses:
None
Methods¶
Inherited:
Pango.Fontset (3), GObject.Object (37)
Structs:
class | new (language) |
---|---|
append (font) | |
size () |
Virtual Methods¶
Inherited:
Pango.Fontset (4), GObject.Object (7)
Properties¶
None
Signals¶
Inherited:
Fields¶
Inherited:
Class Details¶
class Pango.FontsetSimple(**kwargs)¶
Bases:
Abstract:
No
Structure:
PangoFontsetSimple
is a implementation of the abstractPangoFontset
base class as an array of fonts.
When creating a PangoFontsetSimple
, you have to provide the array of fonts that make up the fontset.
classmethod new(language)[source]¶
Parameters:
language (Pango.Language) – a PangoLanguage
tag
Returns:
the newly allocated PangoFontsetSimple
Return type:
Creates a new PangoFontsetSimple
for the given language.
Parameters:
font (Pango.Font) – a PangoFont
.
Adds a font to the fontset.
The fontset takes ownership of font.
Returns:
the size of self
Return type:
Returns the number of fonts in the fontset.