MenuItems
MenuItems defines which categories of OCIO colour spaces to display in the widget.
Note that this is a bitmask.
Nested in: OcioColourSpace
Variables
MenuAll = -1
MenuNone = 0x0
MenuDefault = 0x1
MenuColourSpace = 0x2
MenuDisplayViewSpace = 0x4
MenuNamedSpace = 0x8
MenuLook = 0x10
Constructors
__init__(self)
__init__(self, arg0: OcioColourSpace.MenuItems)
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) -> OcioColourSpace.MenuItems
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
__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
__and__(self, other: Self | int) -> Self
The flags set in both this value and other
__or__(self, other: Self | int) -> Self
The flags set in either this value or other
__xor__(self, other: Self | int) -> Self
The flags set in exactly one of this value and other