Hildon 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
"graphic-border" GtkBorder* : Read "inner-size" GtkBorder* : Read "outer-border" GtkBorder* : Read
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.
typedef struct _HildonColorChooser HildonColorChooser;
HildonColorChooser
is deprecated and should not be used in newly-written code.
GtkWidget* hildon_color_chooser_new (void);
hildon_color_chooser_new
is deprecated and should not be used in newly-written code.
Creates a new HildonColorChooser.
Returns : | the new HildonColorChooser |
void hildon_color_chooser_set_color (HildonColorChooser *chooser, GdkColor *color);
hildon_color_chooser_set_color
is deprecated and should not be used in newly-written code.
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);
hildon_color_chooser_get_color
is deprecated and should not be used in newly-written code.
Retrives the currently selected color in the chooser.
chooser : |
a HildonColorChooser |
color : |
a color structure to fill with the currently selected color |
"inner-size"
style property"inner-size" GtkBorder* : Read
Sizes of SV plane, H bar and spacing.
"outer-border"
style property"outer-border" GtkBorder* : Read
The outer border for the chooser.
"color-changed"
signalvoid 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. |