pango.FontsetSimple — a simple container for a set of fonts
class pango.FontsetSimple(pango.Fontset): |
This object is available in PyGTK 2.4 and above.
A pango.FontsetSimple
is a subclass of pango.Fontset
that provides a simple container for storing a set of pango.Font
objects. The set of fonts in a pango.FontsetSimple
are assemble by using the append()
method.
pango.FontsetSimple(language)
| a pango.Language
object |
Returns : | a new pango.FontsetSimple
object. |
This constructor is available in PyGTK 2.4 and above.
Creates a new pango.FontsetSimple
for the pango.Language
specified by language.
def append(font)
| a pango.Font. |
This method is available in PyGTK 2.4 and above.
The append() method adds the pango.Font specified
by font to the fontset.