Class PopupItem
Class for individual menu item
- Parameters:
text (str) –
menu_id (int) –
command (str) –
style (int) –
checked (bool) –
enabled (bool) –
default (bool) –
help_command (str) –
help_text (str) –
tip_help_text (str) –
shortcut (str) –
index (int) –
data (Any) –
- Parameters:
text (str) –
menu_id (int) –
command (str) –
style (int) –
checked (bool) –
enabled (bool) –
default (bool) –
help_command (str) –
help_text (str) –
tip_help_text (str) –
shortcut (str) –
index (int) –
data (Any | None) –
- Return type:
None
Check if item is separator
- Return type:
bool
Menu check state.
Menu Command.
Data associated with menu item. Defaults to
None
.
Specifies if menu is default item.
Menu enable state.
Help command.
Help text.
Menu index, Defaults to -1.
Menu ID.
One or more shortcuts separated by semicolon.
Menu Style.
Menu Text.
Tip help text.