Top | ![]() |
![]() |
![]() |
![]() |
GtkWidget * | gwy_color_wheel_new () |
void | gwy_color_wheel_get_color () |
void | gwy_color_wheel_set_color () |
GwyColorWheel is an HSV colour selector consiting of a hue ring with a saturation/value triangle inside.
GtkWidget *
gwy_color_wheel_new (void
);
Creates a new spherical wheel.
The widget takes up all the space allocated for it.
void gwy_color_wheel_get_color (GwyColorWheel *wheel
,GwyRGBA *color
);
Obtains the current colour of a colour wheel.
The alpha component is always whatever was last set using gwy_color_wheel_set_color()
because the colour wheel
does not have any means to modify alpha.
void gwy_color_wheel_set_color (GwyColorWheel *wheel
,const GwyRGBA *color
);
Sets the current colour of a colour wheel.
The alpha component is preserved but ignored.
“color-changed”
signalvoid user_function (GwyColorWheel *gwywheel, gpointer user_data)
The ::color-changed signal is emitted when the color changes.
gwywheel |
The GwyColorWheel which received the signal. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run First