| GIMP Widgets Library Reference Manual | ||||
|---|---|---|---|---|
enum GimpControllerEventType; GimpControllerEventAny; GimpControllerEventTrigger; GimpControllerEventValue; union GimpControllerEvent; GimpController; GimpController* gimp_controller_new (GType controller_type); gint gimp_controller_get_n_events (GimpController *controller); const gchar* gimp_controller_get_event_name (GimpController *controller, gint event_id); const gchar* gimp_controller_get_event_blurb (GimpController *controller, gint event_id); gboolean gimp_controller_event (GimpController *controller, const GimpControllerEvent *event);
"name" gchararray : Read / Write / Construct "state" gchararray : Read / Write / Construct
"event" gboolean user_function (GimpController *gimpcontroller, gpointer arg1, gpointer user_data) : Run last
typedef enum
{
GIMP_CONTROLLER_EVENT_TRIGGER,
GIMP_CONTROLLER_EVENT_VALUE
} GimpControllerEventType;
typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
} GimpControllerEventAny;
typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
} GimpControllerEventTrigger;
typedef struct {
GimpControllerEventType type;
GimpController *source;
gint event_id;
GValue value;
} GimpControllerEventValue;
union GimpControllerEvent
{
GimpControllerEventType type;
GimpControllerEventAny any;
GimpControllerEventTrigger trigger;
GimpControllerEventValue value;
};
GimpController* gimp_controller_new (GType controller_type);
controller_type : |
|
| Returns : |
gint gimp_controller_get_n_events (GimpController *controller);
controller : |
|
| Returns : |
const gchar* gimp_controller_get_event_name (GimpController *controller, gint event_id);
controller : |
|
event_id : |
|
| Returns : |
const gchar* gimp_controller_get_event_blurb
(GimpController *controller,
gint event_id);
controller : |
|
event_id : |
|
| Returns : |
gboolean gimp_controller_event (GimpController *controller, const GimpControllerEvent *event);
controller : |
|
event : |
|
| Returns : |
name" property"name" gchararray : Read / Write / Construct
Default value: "Unnamed Controller"
gboolean user_function (GimpController *gimpcontroller, gpointer arg1, gpointer user_data) : Run last
gimpcontroller : |
the object which received the signal. |
arg1 : |
|
user_data : |
user data set when the signal handler was connected. |
| Returns : |