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