GIMP Widgets Library Reference Manual |
---|
GimpPickButton — Widget to pick a color from screen.
struct GimpPickButton; GtkWidget* gimp_pick_button_new (void);
GObject +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GimpPickButton
"color-picked" void user_function (GimpPickButton *gimppickbutton, gpointer arg1, gpointer user_data);
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. |
void user_function (GimpPickButton *gimppickbutton, gpointer arg1, gpointer user_data);
gimppickbutton : | the object which received the signal. |
arg1 : | pointer to a GimpRGB structure that holds the picked color |
user_data : | user data set when the signal handler was connected. |
<< GimpPathEditor | GimpPixmap >> |