PreferencesExtension#

class omni.kit.window.preferences.scripts.PreferencesExtension#

Bases: IExt

Preference window class.

Methods

hide_preferences_window()

Hide the Preferences window from the User.

on_shutdown()

on_startup(ext_id)

rebuild_pages()

Rebuild UI.

select_page(page)

Select page to display and refresh.

show_preferences_window()

Show the Preferences window to the User.

__init__(self: omni.ext._extensions.IExt) None#
class PreferencesState(value)#

Bases: IntFlag

Preference startup state, either Invalid or Created.

hide_preferences_window()#

Hide the Preferences window from the User.

rebuild_pages()#

Rebuild UI.

select_page(page)#

Select page to display and refresh.

show_preferences_window()#

Show the Preferences window to the User.