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.



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

def initialize; end

Instance Method Details

#create_buttons(dialog) ⇒ Boolean

Creates the main dialog buttons.

Parameters:

Returns:

  • (Boolean)


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

def create_buttons(dialog) end

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

Creates a page, given a page identifier.

Parameters:

Returns:



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

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)


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

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)


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

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)


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

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)


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

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)


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

def set_sheet_style(dialog) end

#show_help(page, dialog) ⇒ Boolean

Invokes help for the dialog.

Parameters:

Returns:

  • (Boolean)


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

def show_help(page, dialog) end