Class | Fox::FXColorWheel |
In: |
rdoc-sources/FXColorWheel.rb
|
Parent: | FXFrame |
A Color Wheel is a widget which controls the hue and saturation values of a color. It is most often used together with a Color Bar which controls the brightness.
The following messages are sent by FXColorWheel to its target:
SEL_CHANGED: | sent continuously, while the color is changing; the message data is a 3-element array of floats containing the hue, saturation and value. |
SEL_COMMAND: | sent when the new color is set; the message data is a 3-element array of floats containing the hue, saturation and value. |
SEL_LEFTBUTTONPRESS: | sent when the left mouse button goes down; the message data is an FXEvent instance. |
SEL_LEFTBUTTONRELEASE: | sent when the left mouse button goes up; the message data is an FXEvent instance. |
helpText | [RW] | Status line help text [String] |
hue | [RW] | Hue [Float] |
sat | [RW] | Saturation [Float] |
tipText | [RW] | Tool tip message [String] |
val | [RW] | Value [Float] |
Construct color wheel
p: | Parent widget [FXComposite] |
target: | Message target object [FXObject] |
selector: | Message identifier [Integer] |
opts: | Options [Integer] |
x:: y:: width:: height:: padLeft:: padRight:: padTop:: padBottom::