|GIMP Widgets Library Reference Manual|
|Top | Description | Object Hierarchy | Implemented Interfaces | Signals|
GimpButton; GtkWidget * gimp_button_new (
void); void gimp_button_extended_clicked (
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBin +----GtkButton +----GimpButton +----GimpColorButton
GimpButton adds an extra signal to the GtkButton widget that allows to distinguish a normal click from a click that was performed with modifier keys pressed.
GtkWidget * gimp_button_new (
Creates a new GimpButton widget.
|A pointer to the new GimpButton widget.|
void user_function (GimpButton *gimpbutton, GdkModifierType arg1, gpointer user_data) :
This signal is emitted when the button is clicked with a modifier key pressed.
||the object that received the signal.|
||the state of modifier keys when the button was clicked|
||user data set when the signal handler was connected.|