wx.richtext.RichTextFormattingDialogFactory¶This class provides pages for wx.richtext.RichTextFormattingDialog, and allows other customization of the dialog.
A default instance of this class is provided automatically. If you wish to change the behaviour of the formatting dialog (for example add or replace a page), you may derive from this class, override one or more functions, and call the static function wx.richtext.RichTextFormattingDialog.SetFormattingDialogFactory .
Class Hierarchy¶
Inheritance diagram for class RichTextFormattingDialogFactory:

Methods Summary¶Constructor. |
|
Creates the main dialog buttons. |
|
Creates a page, given a page identifier. |
|
Creates all pages under the dialog’s book control, also calling AddPage(). |
|
Enumerate all available page identifiers. |
|
Gets the number of available page identifiers. |
|
Gets the image index for the given page identifier. |
|
Set the property sheet style, called at the start of |
|
Invokes help for the dialog. |
Properties Summary¶See |
Class API¶wx.richtext.RichTextFormattingDialogFactory(Object)¶Possible constructors:
RichTextFormattingDialogFactory()
This class provides pages for RichTextFormattingDialog, and allows other customization of the dialog.
__init__(self)¶Constructor.
CreateButtons(self, dialog)¶Creates the main dialog buttons.
dialog (wx.richtext.RichTextFormattingDialog) –
bool
CreatePage(self, page, title, dialog)¶Creates a page, given a page identifier.
page (int) –
title (string) –
dialog (wx.richtext.RichTextFormattingDialog) –
Panel
CreatePages(self, pages, dialog)¶Creates all pages under the dialog’s book control, also calling AddPage().
pages (long) –
dialog (wx.richtext.RichTextFormattingDialog) –
bool
GetPageId(self, i)¶Enumerate all available page identifiers.
i (int) –
int
GetPageIdCount(self)¶Gets the number of available page identifiers.
int
GetPageImage(self, id)¶Gets the image index for the given page identifier.
id (int) –
int
SetSheetStyle(self, dialog)¶Set the property sheet style, called at the start of wx.richtext.RichTextFormattingDialog.Create .
dialog (wx.richtext.RichTextFormattingDialog) –
bool
ShowHelp(self, page, dialog)¶Invokes help for the dialog.
page (int) –
dialog (wx.richtext.RichTextFormattingDialog) –
bool
PageIdCount¶See GetPageIdCount