| GIMP Widgets Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBin
+----GtkButton
+----GimpPickButton
GimpPickButton implements AtkImplementorIface, GtkBuildable and GtkActivatable.
GimpPickButton is a specialized button. When clicked, it changes the cursor to a color-picker pipette and allows the user to pick a color from any point on the screen.
GtkWidget * gimp_pick_button_new (void);
Creates a new GimpPickButton widget.
Returns : |
A new GimpPickButton widget. |
"color-picked" signalvoid user_function (GimpPickButton *gimppickbutton,
gpointer arg1,
gpointer user_data) : Run First
This signal is emitted when the user has picked a color.
|
the object which received the signal. |
|
pointer to a GimpRGB structure that holds the picked color |
|
user data set when the signal handler was connected. |