wx.richtext.RichTextFontTable¶Manages quick access to a pool of fonts for rendering rich text.
See also
wx.richtext.RichTextBuffer, wx.richtext.RichTextCtrl
Class Hierarchy¶
Inheritance diagram for class RichTextFontTable:

Methods Summary¶Default constructor. |
|
Clears the font table. |
|
Finds a font for the given attribute object. |
|
Returns |
|
Set the font scale factor. |
|
Inequality operator. |
|
Equality operator. |
Class API¶wx.richtext.RichTextFontTable(Object)¶Possible constructors:
RichTextFontTable()
RichTextFontTable(table)
Manages quick access to a pool of fonts for rendering rich text.
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
__init__ (self, table)
Copy constructor.
table (wx.richtext.RichTextFontTable) –
Clear(self)¶Clears the font table.
FindFont(self, fontSpec)¶Finds a font for the given attribute object.
fontSpec (wx.richtext.RichTextAttr) –
Font
IsOk(self)¶Returns True if the font table is valid.
bool
SetFontScale(self, fontScale)¶Set the font scale factor.
fontScale (float) –
__ne__(self)¶Inequality operator.
table (wx.richtext.RichTextFontTable) –
__eq__(self)¶Equality operator.
table (wx.richtext.RichTextFontTable) –