hildon 2.1.24 Reference Manual | ||||
---|---|---|---|---|
HildonColorChooserDialogHildonColorChooserDialog — A dialog used to select a color from HSV colorspace. |
HildonColorChooserDialog; GtkWidget* hildon_color_chooser_dialog_new (void); void hildon_color_chooser_dialog_set_color (HildonColorChooserDialog *dialog, GdkColor *color); void hildon_color_chooser_dialog_get_color (HildonColorChooserDialog *dialog, GdkColor *color);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----HildonColorChooserDialog
"container-sizes" GtkBorder* : Read "default-color" GdkColor* : Read "defined-color0" GdkColor* : Read "defined-color1" GdkColor* : Read "defined-color10" GdkColor* : Read "defined-color11" GdkColor* : Read "defined-color12" GdkColor* : Read "defined-color13" GdkColor* : Read "defined-color14" GdkColor* : Read "defined-color15" GdkColor* : Read "defined-color16" GdkColor* : Read "defined-color17" GdkColor* : Read "defined-color18" GdkColor* : Read "defined-color19" GdkColor* : Read "defined-color2" GdkColor* : Read "defined-color20" GdkColor* : Read "defined-color21" GdkColor* : Read "defined-color22" GdkColor* : Read "defined-color23" GdkColor* : Read "defined-color24" GdkColor* : Read "defined-color25" GdkColor* : Read "defined-color26" GdkColor* : Read "defined-color27" GdkColor* : Read "defined-color28" GdkColor* : Read "defined-color29" GdkColor* : Read "defined-color3" GdkColor* : Read "defined-color30" GdkColor* : Read "defined-color31" GdkColor* : Read "defined-color4" GdkColor* : Read "defined-color5" GdkColor* : Read "defined-color6" GdkColor* : Read "defined-color7" GdkColor* : Read "defined-color8" GdkColor* : Read "defined-color9" GdkColor* : Read "num-buttons" GtkBorder* : Read "radio-sizes" GtkBorder* : Read
HildonColorChooserDialog enables the user to select an arbitrary color from a HSV colorspace. The color is stored in one of the predefined color slots and can be reselected later on.
Additionally the user can choose one of the standard "factory" colors.
typedef struct _HildonColorChooserDialog HildonColorChooserDialog;
HildonColorChooserDialog
is deprecated and should not be used in newly-written code.
GtkWidget* hildon_color_chooser_dialog_new (void);
hildon_color_chooser_dialog_new
is deprecated and should not be used in newly-written code.
Creates a new color chooser dialog.
Returns : | a new color chooser dialog. |
void hildon_color_chooser_dialog_set_color (HildonColorChooserDialog *dialog, GdkColor *color);
hildon_color_chooser_dialog_set_color
is deprecated and should not be used in newly-written code.
Sets the dialog to point at the given color. It'll first try to search the palette of the existing colors to match the passed color. If the color is not found in the pallette, the color in the currently selected box will be modified.
dialog : |
a HildonColorChooserDialog |
color : |
a color to set on the HildonColorChooserDialog |
void hildon_color_chooser_dialog_get_color (HildonColorChooserDialog *dialog, GdkColor *color);
hildon_color_chooser_dialog_get_color
is deprecated and should not be used in newly-written code.
Retrives the currently selected color in the color chooser dialog.
dialog : |
a HildonColorChooserDialog |
color : |
a color structure to fill with the currently selected color |
"default-color"
style property"default-color" GdkColor* : Read
Default color for nonpainted custom colors.
"defined-color0"
style property"defined-color0" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color1"
style property"defined-color1" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color10"
style property"defined-color10" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color11"
style property"defined-color11" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color12"
style property"defined-color12" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color13"
style property"defined-color13" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color14"
style property"defined-color14" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color15"
style property"defined-color15" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color16"
style property"defined-color16" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color17"
style property"defined-color17" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color18"
style property"defined-color18" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color19"
style property"defined-color19" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color2"
style property"defined-color2" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color20"
style property"defined-color20" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color21"
style property"defined-color21" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color22"
style property"defined-color22" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color23"
style property"defined-color23" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color24"
style property"defined-color24" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color25"
style property"defined-color25" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color26"
style property"defined-color26" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color27"
style property"defined-color27" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color28"
style property"defined-color28" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color29"
style property"defined-color29" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color3"
style property"defined-color3" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color30"
style property"defined-color30" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color31"
style property"defined-color31" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color4"
style property"defined-color4" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color5"
style property"defined-color5" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color6"
style property"defined-color6" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color7"
style property"defined-color7" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color8"
style property"defined-color8" GdkColor* : Read
Pre-defined colors for the dialog.
"defined-color9"
style property"defined-color9" GdkColor* : Read
Pre-defined colors for the dialog.