hildon 1.0.17 Reference Manual | ||||
---|---|---|---|---|
HildonColorChooser; GtkWidget* hildon_color_chooser_new (void); void hildon_color_chooser_set_color (HildonColorChooser *chooser, GdkColor *color); void hildon_color_chooser_get_color (HildonColorChooser *chooser, GdkColor *color);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----HildonColorChooser
"color-changed" void user_function (HildonColorChooser *hildoncolorchooser, gpointer user_data) : Run first
HildonColorChooser is a widget that displays an HSV colorspace. The user can manipulate the colorspace and easily select and shade of any color he wants.
Normally you should not need to use this widget directly. Using HildonColorButton or HildonColorChooserDialog is much more handy.
void hildon_color_chooser_set_color (HildonColorChooser *chooser, GdkColor *color);
Sets the color selected in the widget. Will move the crosshair pointer to indicate the passed color.
chooser : |
a HildonColorChooser |
color : |
a color to be set |
void hildon_color_chooser_get_color (HildonColorChooser *chooser, GdkColor *color);
Retrives the currently selected color in the chooser.
chooser : |
a HildonColorChooser |
color : |
a color structure to fill with the currently selected color |
void user_function (HildonColorChooser *hildoncolorchooser, gpointer user_data) : Run first
hildoncolorchooser : |
the object which received the signal. |
user_data : |
user data set when the signal handler was connected. |