Class MenuItemKind
- class ooodev.gui.menu.item.MenuItemKind(value)[source]
An enumeration.
- static from_str(s)[source]
Gets an
MenuItemKindinstance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
sis case insensitive and can beCamelCase,pascal_case,snake_case,hyphen-case,normal case.- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
MenuItemKindinstance.
- Returns:
Enum instance.
- Return type:
- ITEM = 2
Menu Item
- ITEM_SUBMENU = 3
Menu Item with Submenu
- SEP = 1
Menu Separator