phoenix_title wx.richtext.RichTextFontTable

Manages quick access to a pool of fonts for rendering rich text.


class_hierarchy Class Hierarchy

Inheritance diagram for class RichTextFontTable:

method_summary Methods Summary

__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.


api Class API

class wx.richtext.RichTextFontTable(Object)

Possible constructors:

RichTextFontTable()

RichTextFontTable(table)

Manages quick access to a pool of fonts for rendering rich text.


Methods

__init__(self, *args, **kw)

overload Overloaded Implementations:



__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) –