pango.FontsetSimple
pango.FontsetSimple — a simple container for a set of fonts
Synopsis
class pango.FontsetSimple(pango.Fontset): |
Description
Note
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.
Constructor
pango.FontsetSimple(language
)
| a pango.Language
object |
Returns : | a new pango.FontsetSimple
object. |
Note
This constructor is available in PyGTK 2.4 and above.
Creates a new pango.FontsetSimple
for the pango.Language
specified by language.
Methods
pango.FontsetSimple.append
def append(font
)
| a pango.Font . |
Note
This method is available in PyGTK 2.4 and above.
The append
() method adds the pango.Font
specified
by font to the fontset.