omni.kit.mainwindow

This class describe the MainWindow workflow, that include 3 main components # MainMenuBar # DockSpace # StatusBar

Python API Reference

class omni.kit.mainwindow.MainWindow

Bases: object

get_main_menu_bar() → omni.ui._ui.MenuBar
get_status_bar_frame() → omni.ui._ui.Frame
show_hide_menu()
show_hide_status_bar()
class omni.kit.mainwindow.MainWindowExtension(self: omni.ext._extensions.IExt)None

Bases: omni.ext._extensions.IExt

on_shutdown()
on_startup(ext_id)
omni.kit.mainwindow.get_main_window() → omni.kit.mainwindow.scripts.main_window.MainWindow