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() -> None
RichTextFontTable(table : RichTextFontTable) -> None
Manages quick access to a pool of fonts for rendering rich text.
__init__(self, *args, **kw)¶__init__ (self)
Default constructor.
None
__init__ (self, table : RichTextFontTable)
Copy constructor.
table (wx.richtext.RichTextFontTable) –
None
Clear(self)¶Clears the font table.
None
FindFont(self, fontSpec : RichTextAttr)¶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 : float)¶Set the font scale factor.
fontScale (float) –
None
__ne__(self)¶Inequality operator.
table (wx.richtext.RichTextFontTable) –
__eq__(self)¶Equality operator.
table (wx.richtext.RichTextFontTable) –