omni.kit.window.preferences.scripts.preference_builder

Classes Summary:

PageItem

Single item of the model

PageModel

The central component of the item widget. It is the application’s dynamic data structure, independent of the user interface, and it directly manages the nested data. It follows closely model-view pattern. It’s abstract, and it defines the standard interface to be able to interoperate with the components of the model-view architecture. It is not supposed to be instantiated directly. Instead, the user should subclass it to create a new model.

PreferenceBuilder

Page building class

PreferenceBuilderUI

Preferences “page” display functions.

Functions Summary:

create_setting_widget

Create a UI widget connected with a setting.

create_setting_widget_combo

Create a Combo Setting widget.

get_style

Get default style.

get_ui_style_name

Gets which light/dark theme kit is using. Not wildly supported.