wxRuby Documentation Home

Wx::RichTextFormattingDialogFactory

This class provides pages for 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 RichTextFormattingDialog::SetFormattingDialogFactory.

Derived from

Object

Methods

RichTextFormattingDialogFactory.new

destructor()

Destructor.

RichTextFormattingDialogFactory#create_buttons

Boolean create_buttons(%(arg-type)RichTextFormattingDialog% dialog)

Creates the main dialog buttons.

RichTextFormattingDialogFactory#create_page

Panel create_page(%(arg-type)Integer% page, String title, RichTextFormattingDialog dialog)

Creates a page, given a page identifier.

RichTextFormattingDialogFactory#create_pages

Boolean create_pages(%(arg-type)Integer% pages, RichTextFormattingDialog dialog)

Creates all pages under the dialog’s book control, also calling AddPage.

RichTextFormattingDialogFactory#get_page_id

Integer get_page_id(%(arg-type)Integer% i)

Enumerate all available page identifiers.

RichTextFormattingDialogFactory#get_page_id_count

Integer get_page_id_count()

Gets the number of available page identifiers.

RichTextFormattingDialogFactory#get_page_image

Integer get_page_image(%(arg-type)Integer% id)

Gets the image index for the given page identifier.

RichTextFormattingDialogFactory#set_sheet_style

Boolean set_sheet_style(%(arg-type)RichTextFormattingDialog% dialog)

Set the property sheet style, called at the start of RichTextFormattingDialog::Create.

RichTextFormattingDialogFactory#show_help

Boolean show_help(%(arg-type)Integer% page, RichTextFormattingDialog dialog)

Invokes help for the dialog.

[This page automatically generated from the Textile source at 2023-06-03 08:07:41 +0000]