disguise developers

Python API

Execute Python code in Designer sessions to control and query projects programmatically.

SaveStatus

Variables

OK = 0

OK_WITH_FAILED_ACTIONS = 1

DISABLED = 2

DISABLED_DURING_SYNC = 3

ERROR_NO_FS = 4

ERROR_NOT_ENOUGH_DISK_SPACE = 5

ERROR_EXCEPTION = 6

ERROR_EXCEPTION_ON_SHUTDOWN = 7

Constructors

__init__(self)

Default constructor for SaveStatus

__init__(self, other: SaveStatus)

Copy constructor for SaveStatus

Methods

toString(self) -> str

The name of this enumerator, or an empty string if its value is not a named enumerator

Static Methods

fromInt(arg0: int) -> SaveStatus

The enumerator with the given integer value, which need not be one of the named enumerators

Special Methods

__index__(self) -> int

The integer value of this enumerator, for use as a list index

__int__(self) -> int

The integer value of this enumerator

__repr__(self) -> str

The enum and enumerator names, as ; str() and print give the same

__lt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__le__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__gt__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError

__ge__(self, other: Self | int) -> bool

Orders by integer value; ordering against a different enum raises TypeError