Class TriStateKind
- class ooodev.utils.kind.tri_state_kind.TriStateKind(value)[source]
Specifies state of a tri-state control such as a check box.
- static from_str(s)[source]
Gets an
TriStateKind
instance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
TriStateKind
instance.
- Returns:
Enum instance.
- Return type:
- CHECKED = 1
State checked
- DONT_KNOW = 2
State don’t know
- NOT_CHECKED = 0
State not checked