A 3-tuple of ints between 0 and 256 representing a single color. More...
Methods defined here: | |
def | __init__ |
def | __str__ |
Class methods defined here: | |
def | fromstr |
Static methods defined here: | |
def | __new__ |
Data descriptors defined here: | |
def | __dict__ |
dictionary for instance variables (if defined) |
Methods inherited from __builtin__.tuple: | |
def | __add__ |
Equivalent to x+y. | |
def | __contains__ |
Equivalent to y in x. | |
def | __eq__ |
Equivalent to x==y. | |
def | __ge__ |
Equivalent to x>=y. | |
def | __getattribute__ |
Equivalent to x.name. | |
def | __getitem__ |
Equivalent to x[y]. | |
def | __getnewargs__ |
def | __getslice__ |
Equivalent to x[i:j]. | |
def | __gt__ |
Equivalent to x>y. | |
def | __hash__ |
Equivalent to hash(x) | |
def | __iter__ |
Equivalent to iter(x) | |
def | __le__ |
Equivalent to x<=y. | |
def | __len__ |
Equivalent to len(x) | |
def | __lt__ |
Equivalent to x<y. | |
def | __mul__ |
Equivalent to x*n. | |
def | __ne__ |
Equivalent to x!=y. | |
def | __repr__ |
Equivalent to repr(x) | |
def | __rmul__ |
Equivalent to n*x. | |
def | __sizeof__ |
def | count |
def | index |
A 3-tuple of ints between 0 and 256 representing a single color.
Can save as a proper python tuple or a hex string
ChooseColorKind
builtin.tuple
builtin.object
def dialog.combo_choose.ChooseColorKind.__init__ | ( | args | ) |
__init__(args)
def dialog.combo_choose.ChooseColorKind.__add__ | ( | y | ) |
Equivalent to x+y.
def dialog.combo_choose.ChooseColorKind.__contains__ | ( | y | ) |
Equivalent to y in x.
def dialog.combo_choose.ChooseColorKind.__dict__ | ( | args | ) |
dictionary for instance variables (if defined)
def dialog.combo_choose.ChooseColorKind.__eq__ | ( | y | ) |
Equivalent to x==y.
def dialog.combo_choose.ChooseColorKind.__ge__ | ( | y | ) |
Equivalent to x>=y.
def dialog.combo_choose.ChooseColorKind.__getattribute__ | ( | name | ) |
Equivalent to x.name.
def dialog.combo_choose.ChooseColorKind.__getitem__ | ( | y | ) |
Equivalent to x[y].
def dialog.combo_choose.ChooseColorKind.__getnewargs__ | ( | args | ) |
__getnewargs__(args)
def dialog.combo_choose.ChooseColorKind.__getslice__ | ( | i, | |
j | |||
) |
Equivalent to x[i:j].
Use of negative indices is not supported.
def dialog.combo_choose.ChooseColorKind.__gt__ | ( | y | ) |
Equivalent to x>y.
def dialog.combo_choose.ChooseColorKind.__hash__ | ( | args | ) |
Equivalent to hash(x)
def dialog.combo_choose.ChooseColorKind.__iter__ | ( | args | ) |
Equivalent to iter(x)
def dialog.combo_choose.ChooseColorKind.__le__ | ( | y | ) |
Equivalent to x<=y.
def dialog.combo_choose.ChooseColorKind.__len__ | ( | args | ) |
Equivalent to len(x)
def dialog.combo_choose.ChooseColorKind.__lt__ | ( | y | ) |
Equivalent to x<y.
def dialog.combo_choose.ChooseColorKind.__mul__ | ( | n | ) |
Equivalent to x*n.
def dialog.combo_choose.ChooseColorKind.__ne__ | ( | y | ) |
Equivalent to x!=y.
def dialog.combo_choose.ChooseColorKind.__new__ | ( | args | ) |
__new__(args)
def dialog.combo_choose.ChooseColorKind.__repr__ | ( | args | ) |
Equivalent to repr(x)
def dialog.combo_choose.ChooseColorKind.__rmul__ | ( | n | ) |
Equivalent to n*x.
def dialog.combo_choose.ChooseColorKind.__sizeof__ | ( | args | ) |
T.__sizeof__() -- size of T in memory, in bytes
def dialog.combo_choose.ChooseColorKind.__str__ | ( | args | ) |
__str__(args)
def dialog.combo_choose.ChooseColorKind.count | ( | value | ) |
def dialog.combo_choose.ChooseColorKind.fromstr | ( | args | ) |
fromstr(args)
builtin.type_cls_m Class Methods from builtin.type
def dialog.combo_choose.ChooseColorKind.index | ( | value, | |
start, | |||
stop | |||
) |
Raises ValueError if the value is not present.