GLXCurses.MenuItem module¶
-
class
GLXCurses.MenuItem.MenuItem[source]¶ Bases:
GLXCurses.Widget.Widget-
accel_path¶ Sets the accelerator path of the menu item, through which runtime changes of the menu item’s accelerator caused by the user can be identified and saved to persistant storage.
Default value: NULL
Returns: The accelerator path of the menu item Return type: str
-
label¶ The text for the child label.
Default value: “”
Returns: child label Return type: str Raises: TypeError – When labelproperty value is not str type or None
-
right_justified¶ Sets whether the menu item appears justified at the right side of a menu bar.
Default value:
FalseReturns: Trueif the widget appears justified at the right side of a menu barReturn type: bool
-
text_short_cut¶
-
spacing¶
-
resized_text¶
-
resized_text_short_cut¶
-
is_accel¶
-
accelerator_size¶
-
color¶
-