Encapsulates all state of a setting.
More...
Encapsulates all state of a setting.
The SettingInstance class contains all state related to a setting.
◆ __init__()
def UM.Settings.SettingInstance.SettingInstance.__init__ |
( |
|
self, |
|
|
|
definition |
|
) |
| |
Constructor.
- Parameters
-
definition | The SettingDefinition object this is an instance of. |
container | The container of this instance. Needed for relation handling. |
◆ container()
def UM.Settings.SettingInstance.SettingInstance.container |
( |
|
self, |
|
|
|
ContainerInterface |
|
) |
| |
The container of this instance.
◆ definition()
def UM.Settings.SettingInstance.SettingInstance.definition |
( |
|
self, |
|
|
|
SettingDefinition |
|
) |
| |
The SettingDefinition this instance maintains state for.
◆ validationState()
def UM.Settings.SettingInstance.SettingInstance.validationState |
( |
|
self | ) |
|
Get the state of validation of this instance.
◆ propertyChanged
UM.Settings.SettingInstance.SettingInstance.propertyChanged = Signal() |
|
static |
Emitted whenever a property of this instance changes.
- Parameters
-
instance | The instance that reported the property change (usually self). |
property | The name of the property that changed. |
The documentation for this class was generated from the following file:
- UM/Settings/SettingInstance.py