Class: Wx::RTC::RichTextFormattingDialogFactory

Inherits:
Object
  • Object
show all
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

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Methods inherited from Object

#clone, #dup, #is_same_as, #un_share

Constructor Details

#initializeWx::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.

Parameters:

Returns:

  • (Boolean)


242
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 242

def create_buttons(dialog) end

#create_page(page, title, dialog) ⇒ Wx::Panel

Creates a page, given a page identifier.

Parameters:

Returns:



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().

Parameters:

Returns:

  • (Boolean)


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.

Parameters:

  • i (Integer)

Returns:

  • (Integer)


260
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 260

def get_page_id(i) end

#get_page_id_countInteger Also known as: page_id_count

Gets the number of available page identifiers.

Returns:

  • (Integer)


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.

Parameters:

  • id (Integer)

Returns:

  • (Integer)


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.

Parameters:

Returns:

  • (Boolean)


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.

Parameters:

Returns:

  • (Boolean)


284
# File 'lib/wx/doc/gen/rtc/rich_text_formatting_dialog.rb', line 284

def show_help(page, dialog) end