Class: Wx::RTC::RichTextContextMenuPropertiesInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/wx/doc/gen/rtc/rich_text_ctrl.rb

Overview

Note:

This class is untracked and should not be derived from nor instances extended!

RichTextContextMenuPropertiesInfo keeps track of objects that appear in the context menu, whose properties are available to be edited.

Requires:

  • USE_RICHTEXT

Instance Method Summary collapse

Constructor Details

#initializeWx::RTC::RichTextContextMenuPropertiesInfo

Constructor.



1928
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1928

def initialize; end

Instance Method Details

#add_item(label, obj) ⇒ Boolean

Adds an item.

Parameters:

Returns:

  • (Boolean)


1938
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1938

def add_item(label, obj) end

#add_items(ctrl, container, obj) ⇒ Integer

Adds appropriate menu items for the current container and clicked on object (and container’s parent, if appropriate).

Parameters:

Returns:

  • (Integer)


1951
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1951

def add_items(ctrl, container, obj) end

#add_menu_items(menu, startCmd = wxID_RICHTEXT_PROPERTIES1) ⇒ Integer

Returns the number of menu items that were added.

Parameters:

  • menu (Wx::Menu)
  • startCmd (Integer) (defaults to: wxID_RICHTEXT_PROPERTIES1)

Returns:

  • (Integer)


1944
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1944

def add_menu_items(menu, startCmd=wxID_RICHTEXT_PROPERTIES1) end

#clearvoid

This method returns an undefined value.

Clears the items.



1955
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1955

def clear; end

#get_countInteger Also known as: count

Returns the number of items.

Returns:

  • (Integer)


1981
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1981

def get_count; end

#get_label(n) ⇒ String Also known as: label

Returns the nth label.

Parameters:

  • n (Integer)

Returns:

  • (String)


1960
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1960

def get_label(n) end

#get_labelsWx::ArrayString Also known as: labels

Returns the array of labels.

Returns:

  • (Wx::ArrayString)


1976
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1976

def get_labels; end

#get_object(n) ⇒ Wx::RTC::RichTextObject Also known as: object

Returns the nth object.

Parameters:

  • n (Integer)

Returns:



1966
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1966

def get_object(n) end

#get_objectsArray<Wx::RTC::RichTextObject> Also known as: objects

Returns the array of objects.

Returns:



1971
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1971

def get_objects; end

#initvoid

This method returns an undefined value.

Initialisation.



1932
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1932

def init; end