| GTK+ Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#include <gtk/gtk.h> struct GtkColorSelection; GtkWidget* gtk_color_selection_new (void); void gtk_color_selection_set_update_policy (GtkColorSelection *colorsel, GtkUpdateType policy); void gtk_color_selection_set_opacity (GtkColorSelection *colorsel, gint use_opacity); void gtk_color_selection_set_color (GtkColorSelection *colorsel, gdouble *color); void gtk_color_selection_get_color (GtkColorSelection *colorsel, gdouble *color); |
GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkVBox +----GtkColorSelection |
"color-changed" void user_function (GtkColorSelection *colorselection, gpointer user_data); |
void gtk_color_selection_set_update_policy
(GtkColorSelection *colorsel,
GtkUpdateType policy); |
| colorsel : | |
| policy : |
void gtk_color_selection_set_opacity (GtkColorSelection *colorsel, gint use_opacity); |
| colorsel : | |
| use_opacity : |
void gtk_color_selection_set_color (GtkColorSelection *colorsel, gdouble *color); |
| colorsel : | |
| color : |
void gtk_color_selection_get_color (GtkColorSelection *colorsel, gdouble *color); |
| colorsel : | |
| color : |
void user_function (GtkColorSelection *colorselection, gpointer user_data); |
| colorselection : | the object which received the signal. |
| user_data : | user data set when the signal handler was connected. |