Class: Gtk::HSV
- Inherits:
-
Object
- Object
- Gtk::HSV
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#get_color(h, s, v) ⇒ nil
Queries the current color in an HSV color selector.
-
#get_metrics(size, ring_width) ⇒ nil
Queries the size and ring width of an HSV color selector.
-
#is_adjusting ⇒ TrueClass
An HSV color selector can be said to be adjusting if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse.
-
#new ⇒ Gtk::Widget
Creates a new HSV color selector.
-
#set_color(h, s, v) ⇒ nil
Sets the current color in an HSV color selector.
-
#set_metrics(size, ring_width) ⇒ nil
Sets the size and ring width of an HSV color selector.
Instance Method Details
#get_color(h, s, v) ⇒ nil
Queries the current color in an HSV color selector. Returned values will be in the [0.0, 1.0] range.
#get_metrics(size, ring_width) ⇒ nil
Queries the size and ring width of an HSV color selector.
#is_adjusting ⇒ TrueClass
An HSV color selector can be said to be adjusting if multiple rapid changes are being made to its value, for example, when the user is adjusting the value with the mouse. This function queries whether the HSV color selector is being adjusted or not.
#new ⇒ Gtk::Widget
Creates a new HSV color selector.
#set_color(h, s, v) ⇒ nil
Sets the current color in an HSV color selector. Color component values must be in the [0.0, 1.0] range.
#set_metrics(size, ring_width) ⇒ nil
Sets the size and ring width of an HSV color selector.