SimpleIntModel

class omni.ui.SimpleIntModel

Bases: AbstractValueModel

A very simple Int 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 minimum value.

min

This property holds the model's minimum value.

__init__(self: omni.ui._ui.SimpleIntModel, default_value: int = 0, **kwargs) None
get_max(self: omni.ui._ui.SimpleIntModel) int
get_min(self: omni.ui._ui.SimpleIntModel) int
set_max(self: omni.ui._ui.SimpleIntModel, arg0: int) None
set_min(self: omni.ui._ui.SimpleIntModel, arg0: int) None
property max

This property holds the model’s minimum value.

property min

This property holds the model’s minimum value.