Style

class omni.ui.Style

Bases: pybind11_object

A singleton that controls the global style of the session.

Methods

__init__(*args, **kwargs)

get_instance()

Get the instance of this singleton object.

Attributes

default

Set the default root style.

__init__(*args, **kwargs)
static get_instance() omni.ui._ui.Style

Get the instance of this singleton object.

property default

Set the default root style. It’s the style that is preselected when no alternative is specified.