Manages quick access to a pool of fonts for rendering rich text.
__init__ |
Default constructor. |
Clear |
Clears the font table. |
FindFont |
Finds a font for the given attribute object. |
IsOk |
Returns True if the font table is valid. |
SetFontScale |
Set the font scale factor. |
__ne__ |
Inequality operator. |
__eq__ |
Equality operator. |
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.
Parameters: | table (wx.richtext.RichTextFontTable) – |
---|
Clear
(self)¶Clears the font table.
FindFont
(self, fontSpec)¶Finds a font for the given attribute object.
Parameters: | fontSpec (wx.richtext.RichTextAttr) – |
---|---|
Return type: | Font |
IsOk
(self)¶Returns True
if the font table is valid.
Return type: | bool |
---|
SetFontScale
(self, fontScale)¶Set the font scale factor.
Parameters: | fontScale (float) – |
---|
__ne__
(self)¶Inequality operator.
Parameters: | table (wx.richtext.RichTextFontTable) – |
---|
__eq__
(self)¶Equality operator.
Parameters: | table (wx.richtext.RichTextFontTable) – |
---|