Re: retrieving GdkColor from a GtkColorButton
- From: Jan-Marek Glogowski <glogow fbihome de>
- To: Leslie Harlley Watter <leslie watter org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: retrieving GdkColor from a GtkColorButton
- Date: Wed, 4 Aug 2004 10:50:55 +0200 (CEST)
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]