PreferencesExtension#
- class omni.kit.window.preferences.scripts.preferences_window.PreferencesExtension#
- Bases: - IExt- Preference window class. - Methods - Hide the Preferences window from the User. - on_shutdown()- on_startup(ext_id)- Rebuild UI. - select_page(page)- Select page to display and refresh. - Show the Preferences window to the User. - __init__(self: omni.ext._extensions.IExt) None#
 - class PreferencesState(
- value,
- names=None,
- *,
- module=None,
- qualname=None,
- type=None,
- start=1,
- boundary=None,
- 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.