Flags¶
Details¶
- class Colorhug.DeviceQueueProcessFlags(value)¶
Bases:
GLib.Flags
Colorhug.DeviceQueueProcessFlags.NONE
: Normal operation, where a single device command failure makes the return value of the processFalse
, but the queue contibues to run for other devices.Colorhug.DeviceQueueProcessFlags.CONTINUE_ERRORS
: Continue to submit commands to a device that has failed a command, for example where one command might not be supported in the middle of a queue of commands.Colorhug.DeviceQueueProcessFlags.NONFATAL_ERRORS
: Do not consider a device error to be fatal, but instead emit a signal and continue with the rest of the queue. If the flagColorhug.DeviceQueueProcessFlags.CONTINUE_ERRORS
is not used then other commands to the same device will not be submitted.Flags for controlling processing options
- NONE = 0¶
- CONTINUE_ERRORS = 1¶
- NONFATAL_ERRORS = 2¶
- class Colorhug.Illuminant(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- A = 1¶
- UV = 2¶
- class Colorhug.PcbErrata(value)¶
Bases:
GLib.Flags
- NONE = 0¶
- SWAPPED_LEDS = 1¶
- NO_WELCOME = 2¶
- class Colorhug.StatusLed(value)¶
Bases:
GLib.Flags
- GREEN = 1¶
- RED = 2¶
- BLUE = 4¶