Re: retrieving GdkColor from a GtkColorButton



Hi

From the docs:

The "color-set" signal
void user_function (GtkColorButton *widget, gpointer user_data);
The ::color-set signal is emitted when the user selects a color.

In your handler simply do:

gtk_color_button_get_color( widget, &fundo );

HTH

Jan-Marek



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]