alias_api.Menu
- class alias_api.Menu
Bases:
pybind11_objectAdd menus to the Alias menu bar using this object.
- add_command(self: alias_api.Menu, label: str, callback: collections.abc.Callable[[], None], add_separator: bool = False, parent: object = None) → object
- add_menu(self: alias_api.Menu, label: str, parent: object = None) → object
- clean(self: alias_api.Menu) → None
- remove(self: alias_api.Menu) → int