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() -> None
RichTextContextMenuPropertiesInfo keeps track of objects that appear in the context menu, whose properties are available to be edited.
Constructor.
None
Adds an item.
label (string)
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)
int
Returns the number of menu items that were added.
menu (wx.Menu)
startCmd (int)
int
Clears the items.
None
Returns the number of items.
int
Returns the nth label.
n (int)
str
Returns the array of labels.
List[str]
Returns the nth object.
n (int)
Returns the array of objects.
RichTextObjectPtrArray
Initialisation.
None
See GetObjects
A public C++ attribute of type list of strings
.
A public C++ attribute of type RichTextObjectPtrArray
.