SimpleBoolModel#

class omni.ui.SimpleBoolModel#

Bases: AbstractValueModel

A very simple bool model.

Methods

__init__(self[, default_value])

get_max(self)

get_min(self)

set_max(self, arg0)

set_min(self, arg0)

Attributes

max

This property holds the model's maximum value.

min

This property holds the model's minimum value.

__init__(
self: omni.ui._ui.SimpleBoolModel,
default_value: bool = False,
**kwargs,
) None#
get_max(self: omni.ui._ui.SimpleBoolModel) bool#
get_min(self: omni.ui._ui.SimpleBoolModel) bool#
set_max(
self: omni.ui._ui.SimpleBoolModel,
arg0: bool,
) None#
set_min(
self: omni.ui._ui.SimpleBoolModel,
arg0: bool,
) None#
property max#

This property holds the model’s maximum value.

property min#

This property holds the model’s minimum value.