wx.richtext.RichTextFontTable¶
Manages quick access to a pool of fonts for rendering rich text.
Class Hierarchy¶
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¶
- class wx.richtext.RichTextFontTable(Object)¶
Possible constructors:
RichTextFontTable() -> None RichTextFontTable(table) -> None
Manages quick access to a pool of fonts for rendering rich text.
Methods¶
- __init__(self, *args, **kw)¶
-
__init__ (self)
Default constructor.
- Return type:
None
__init__ (self, table)
Copy constructor.
- Parameters:
table (wx.richtext.RichTextFontTable)
- Return type:
None
- Clear(self)¶
Clears the font table.
- Return type:
None
- 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)
- Return type:
None
- __ne__(self, table)¶
Inequality operator.
- Parameters:
table (wx.richtext.RichTextFontTable)
- Return type:
bool
- __eq__(self, table)¶
Equality operator.
- Parameters:
table (wx.richtext.RichTextFontTable)
- Return type:
bool