Public Member Functions | |
| __new__ (cls, value) | |
| KeyMod | __and__ (self, KeyMod b) |
| __format__ (self, format_spec) | |
| __iand__ (self, other, f=...) | |
| __imul__ (self, other, f=...) | |
| KeyMod | __invert__ (self) |
| __ior__ (self, other, f=...) | |
| __ixor__ (self, other, f=enum.Flag.__xor__) | |
| KeyMod | __mul__ (self, bool b) |
| KeyMod | __or__ (self, KeyMod b) |
| __rand__ (self, other) | |
| KeyMod | __rmul__ (self, bool b) |
| __ror__ (self, other) | |
| __rxor__ (self, other) | |
| __str__ (self) | |
| __xor__ (self, other) | |
Static Public Attributes | |
| typing | Alt .ClassVar[KeyMod] |
| typing | Ctrl .ClassVar[KeyMod] |
| typing | Empty .ClassVar[KeyMod] |
| typing | Shift .ClassVar[KeyMod] |
| typing | Super .ClassVar[KeyMod] |
Protected Member Functions | |
| _iter_member_ (cls, value) | |
| _value_repr_ (self) | |
Static Protected Member Functions | |
| _generate_next_value_ (name, start, count, last_values) | |
| _new_member_ (type, *args, **kwargs) | |
Static Protected Attributes | |
| typing | _all_bits_ = 15 |
| typing | _boundary_ .ClassVar[enum.FlagBoundary] |
| typing | _flag_mask_ = 15 |
| _inverted_ = None | |
| typing | _member_map_ .ClassVar[dict] |
| list | _member_names_ = ['Ctrl', 'Super', 'Shift', 'Alt'] |
| typing | _singles_mask_ = 15 |
| typing | _unhashable_values_ = list() |
| typing | _use_args_ = True |
| typing | _value2member_map_ .ClassVar[dict] |
| _member_type_ = builtins.int | |
Members: Empty Ctrl Super Shift Alt
| mrviewerpy.KeyMod.__format__ | ( | self, | |
| format_spec ) |
Convert to a string according to format_spec.
| mrviewerpy.KeyMod.__iand__ | ( | self, | |
| other, | |||
| f = ... ) |
__iand__(self: meshlib.mrviewerpy.KeyMod, b: meshlib.mrviewerpy.KeyMod) -> meshlib.mrviewerpy.KeyMod
| mrviewerpy.KeyMod.__imul__ | ( | self, | |
| other, | |||
| f = ... ) |
__imul__(self: meshlib.mrviewerpy.KeyMod, b: bool) -> meshlib.mrviewerpy.KeyMod
| KeyMod mrviewerpy.KeyMod.__invert__ | ( | self | ) |
| mrviewerpy.KeyMod.__ior__ | ( | self, | |
| other, | |||
| f = ... ) |
__ior__(self: meshlib.mrviewerpy.KeyMod, b: meshlib.mrviewerpy.KeyMod) -> meshlib.mrviewerpy.KeyMod
| mrviewerpy.KeyMod.__ixor__ | ( | self, | |
| other, | |||
| f = enum.Flag.__xor__ ) |
| KeyMod mrviewerpy.KeyMod.__mul__ | ( | self, | |
| bool | b ) |
| mrviewerpy.KeyMod.__new__ | ( | cls, | |
| value ) |
| mrviewerpy.KeyMod.__rand__ | ( | self, | |
| other ) |
| KeyMod mrviewerpy.KeyMod.__rmul__ | ( | self, | |
| bool | b ) |
| mrviewerpy.KeyMod.__ror__ | ( | self, | |
| other ) |
| mrviewerpy.KeyMod.__rxor__ | ( | self, | |
| other ) |
| mrviewerpy.KeyMod.__str__ | ( | self | ) |
| mrviewerpy.KeyMod.__xor__ | ( | self, | |
| other ) |
|
staticprotected |
Generate the next value when not given.
name: the name of the member
start: the initial start value or None
count: the number of existing members
last_values: the last value assigned or None
|
protected |
Extract all members from the value in definition order.
|
staticprotected |
Create and return a new object. See help(type) for accurate signature.
|
protected |
Return repr(self).
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |
|
static |
|
static |
|
static |