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.



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.

Parameters:

Returns:

  • (Boolean)


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

Parameters:

Returns:

  • (Integer)


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.

Parameters:

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

Returns:

  • (Integer)


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

def add_menu_items(menu, startCmd=wxID_RICHTEXT_PROPERTIES1) end

#clearvoid

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_countInteger Also known as: count

Returns the number of items.

Returns:

  • (Integer)


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.

Parameters:

  • n (Integer)

Returns:

  • (String)


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

def get_label(n) end

#get_labelsWx::ArrayString Also known as: labels

Returns the array of labels.

Returns:

  • (Wx::ArrayString)


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.

Parameters:

  • n (Integer)

Returns:



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

def get_object(n) end

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

Returns the array of objects.

Returns:



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

def get_objects; end

#initvoid

This method returns an undefined value.

Initialisation.



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

def init; end