Class: Wx::RTC::RichTextContextMenuPropertiesInfo
- Inherits:
-
Object
- Object
- Wx::RTC::RichTextContextMenuPropertiesInfo
- Defined in:
- lib/wx/doc/gen/rtc/rich_text_ctrl.rb
Overview
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.
Instance Method Summary collapse
-
#add_item(label, obj) ⇒ Boolean
Adds an item.
-
#add_items(ctrl, container, obj) ⇒ Integer
Adds appropriate menu items for the current container and clicked on object (and container’s parent, if appropriate).
-
#add_menu_items(menu, startCmd = wxID_RICHTEXT_PROPERTIES1) ⇒ Integer
Returns the number of menu items that were added.
-
#clear ⇒ void
Clears the items.
-
#get_count ⇒ Integer
(also: #count)
Returns the number of items.
-
#get_label(n) ⇒ String
(also: #label)
Returns the nth label.
-
#get_labels ⇒ Wx::ArrayString
(also: #labels)
Returns the array of labels.
-
#get_object(n) ⇒ Wx::RTC::RichTextObject
(also: #object)
Returns the nth object.
-
#get_objects ⇒ Array<Wx::RTC::RichTextObject>
(also: #objects)
Returns the array of objects.
-
#init ⇒ void
Initialisation.
-
#initialize ⇒ Wx::RTC::RichTextContextMenuPropertiesInfo
constructor
Constructor.
Constructor Details
#initialize ⇒ Wx::RTC::RichTextContextMenuPropertiesInfo
Constructor.
1922 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1922 def initialize; end |
Instance Method Details
#add_item(label, obj) ⇒ Boolean
Adds an item.
1932 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1932 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).
1945 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1945 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.
1938 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1938 def (, startCmd=wxID_RICHTEXT_PROPERTIES1) end |
#clear ⇒ void
This method returns an undefined value.
Clears the items.
1949 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1949 def clear; end |
#get_count ⇒ Integer Also known as: count
Returns the number of items.
1975 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1975 def get_count; end |
#get_label(n) ⇒ String Also known as: label
Returns the nth label.
1954 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1954 def get_label(n) end |
#get_labels ⇒ Wx::ArrayString Also known as: labels
Returns the array of labels.
1970 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1970 def get_labels; end |
#get_object(n) ⇒ Wx::RTC::RichTextObject Also known as: object
Returns the nth object.
1960 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1960 def get_object(n) end |
#get_objects ⇒ Array<Wx::RTC::RichTextObject> Also known as: objects
Returns the array of objects.
1965 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1965 def get_objects; end |
#init ⇒ void
This method returns an undefined value.
Initialisation.
1926 |
# File 'lib/wx/doc/gen/rtc/rich_text_ctrl.rb', line 1926 def init; end |