Class GTK2.ColorSelection

Inheritance graph
Description

The color selection widget is, not surprisingly, a widget for interactive selection of colors. This composite widget lets the user select a color by manipulating RGB (Red, Green, Blue) and HSV (Hue, Saturation, Value) triples. This is done either by adjusting single values with sliders or entries, or by picking the desired color from a hue-saturation wheel/value bar. Optionally, the opacity of the color can also be set.

The color selection widget currently emits only one signal, "color_changed", which is emitted whenever the current color in the widget changes, either when the user changes it or if it's set explicitly through set_color().

 GTK2.ColorSelection()

Properties: int current-alpha GDK2.Color current-color int has-opacity-control int has-palette

Signals: color_changed


Inherit Vbox

inherit GTK2.Vbox : Vbox


Method create

GTK2.ColorSelection GTK2.ColorSelection(mapping|void props)

Description

Create a new color selection.