|  |  |  | GTK+ Reference Manual |  | 
|---|
| GtkColorSelectionDialogGtkColorSelectionDialog — A standard dialog box for selecting a color |  | 
#include <gtk/gtk.h>
            GtkColorSelectionDialog;
GtkWidget*  gtk_color_selection_dialog_new  (const gchar *title);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkWindow +----GtkDialog +----GtkColorSelectionDialog
The GtkColorSelectionDialog provides a standard dialog which allows the user to select a color much like the GtkFileSelection provides a standard dialog for file selection.
typedef struct _GtkColorSelectionDialog GtkColorSelectionDialog;
The GtkColorSelectionDialog-struct struct contains the following fields. (These fields should be considered read-only. They should never be set by an application.)
| GtkWidget *colorsel; | The GtkColorSelection widget contained within the dialog. Use this widget and its gtk_color_selection_get_current_color() function to gain access to the selected color. Connect a handler for this widget's color_changed signal to be notified when the color changes. | 
| GtkWidget *ok_button; | The OK button widget contained within the dialog. Connect a handler for the clicked event. | 
| GtkWidget *cancel_button; | The cancel button widget contained within the dialog. Connect a handler for the clicked event. | 
| GtkWidget *help_button; | The help button widget contained within the dialog. Connect a handler for the clicked event. | 
GtkWidget* gtk_color_selection_dialog_new (const gchar *title);
Creates a new GtkColorSelectionDialog.
| title : | a string containing the title text for the dialog. | 
| Returns : | a GtkColorSelectionDialog. | 
| << GtkColorSelection | GtkFileSelection >> |