wx.richtext.RichTextContextMenuPropertiesInfo keeps track of objects that appear in the context menu, whose properties are available to be edited.
Constructor. |
|
Adds an item. |
|
Adds appropriate menu items for the current container and clicked on object (and container’s parent, if appropriate). |
|
Returns the number of menu items that were added. |
|
Clears the items. |
|
Returns the number of items. |
|
Returns the nth label. |
|
Returns the array of labels. |
|
Returns the nth object. |
|
Returns the array of objects. |
|
Initialisation. |
See |
|
See |
|
See |
|
A public C++ attribute of type |
|
A public C++ attribute of type |
Possible constructors:
RichTextContextMenuPropertiesInfo()
RichTextContextMenuPropertiesInfo keeps track of objects that appear in the context menu, whose properties are available to be edited.
Constructor.
Adds an item.
label (string) –
obj (wx.richtext.RichTextObject) –
bool
Adds appropriate menu items for the current container and clicked on object (and container’s parent, if appropriate).
ctrl (wx.richtext.RichTextCtrl) –
container (wx.richtext.RichTextObject) –
obj (wx.richtext.RichTextObject) –
int
Returns the number of menu items that were added.
menu (wx.Menu) –
startCmd (int) –
int
Clears the items.
Returns the number of items.
int
Returns the nth label.
n (int) –
string
Returns the array of labels.
list of strings
Returns the nth object.
n (int) –
Returns the array of objects.
RichTextObjectPtrArray
Initialisation.
See GetObjects
A public C++ attribute of type list of strings
.
A public C++ attribute of type RichTextObjectPtrArray
.