Class: Wx::RTC::RichTextFormattingDialogFactory
- Defined in:
- lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb
Overview
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 Wx::RTC::RichTextFormattingDialog.set_formatting_dialog_factory.
Category: Rich Text
Instance Method Summary collapse
-
#create_buttons(dialog) ⇒ Boolean
Creates the main dialog buttons.
-
#create_page(page, title, dialog) ⇒ Wx::Panel
Creates a page, given a page identifier.
-
#create_pages(pages, dialog) ⇒ Boolean
Creates all pages under the dialog’s book control, also calling AddPage().
-
#get_page_id(i) ⇒ Integer
(also: #page_id)
Enumerate all available page identifiers.
-
#get_page_id_count ⇒ Integer
(also: #page_id_count)
Gets the number of available page identifiers.
-
#get_page_image(id) ⇒ Integer
(also: #page_image)
Gets the image index for the given page identifier.
-
#initialize ⇒ Wx::RTC::RichTextFormattingDialogFactory
constructor
Constructor.
-
#set_sheet_style(dialog) ⇒ Boolean
(also: #sheet_style=)
Set the property sheet style, called at the start of Wx::RTC::RichTextFormattingDialog#create.
-
#show_help(page, dialog) ⇒ Boolean
Invokes help for the dialog.
Methods inherited from Object
#clone, #dup, #is_same_as, #un_share
Constructor Details
#initialize ⇒ Wx::RTC::RichTextFormattingDialogFactory
Constructor.
237 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 237 def initialize; end |
Instance Method Details
#create_buttons(dialog) ⇒ Boolean
Creates the main dialog buttons.
242 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 242 def (dialog) end |
#create_page(page, title, dialog) ⇒ Wx::Panel
Creates a page, given a page identifier.
249 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 249 def create_page(page, title, dialog) end |
#create_pages(pages, dialog) ⇒ Boolean
Creates all pages under the dialog’s book control, also calling AddPage().
255 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 255 def create_pages(pages, dialog) end |
#get_page_id(i) ⇒ Integer Also known as: page_id
Enumerate all available page identifiers.
260 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 260 def get_page_id(i) end |
#get_page_id_count ⇒ Integer Also known as: page_id_count
Gets the number of available page identifiers.
265 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 265 def get_page_id_count; end |
#get_page_image(id) ⇒ Integer Also known as: page_image
Gets the image index for the given page identifier.
271 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 271 def get_page_image(id) end |
#set_sheet_style(dialog) ⇒ Boolean Also known as: sheet_style=
Set the property sheet style, called at the start of Wx::RTC::RichTextFormattingDialog#create.
277 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 277 def set_sheet_style(dialog) end |
#show_help(page, dialog) ⇒ Boolean
Invokes help for the dialog.
284 |
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 284 def show_help(page, dialog) end |