add_window_menu_item#
- omni.graph.ui.add_window_menu_item(
- item: MenuItemDescription,
- order: int = 0,
Add an item to the Window/Visual Scripting sub-menu.
- Parameters:
item – the item to be added
order – the relative order in which the item should appear in the menu. Items with the same order value will appear in the order in which they were added.