Class StateKind

class ooodev.utils.kind.state_kind.StateKind(value)[source]

Specifies state of a state control such as a radio button.

static from_str(s)[source]

Gets an StateKind 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 StateKind instance.

Returns:

Enum instance.

Return type:

StateKind

CHECKED = 1

State checked

NOT_CHECKED = 0

State not checked