Top |
Functions
GimpController * | gimp_controller_new () |
gint | gimp_controller_get_n_events () |
const gchar * | gimp_controller_get_event_name () |
const gchar * | gimp_controller_get_event_blurb () |
gboolean | gimp_controller_event () |
Types and Values
enum | GimpControllerEventType |
struct | GimpControllerEventAny |
struct | GimpControllerEventTrigger |
struct | GimpControllerEventValue |
union | GimpControllerEvent |
GimpController |
Functions
gimp_controller_get_event_name ()
const gchar * gimp_controller_get_event_name (GimpController *controller
,gint event_id
);
gimp_controller_get_event_blurb ()
const gchar * gimp_controller_get_event_blurb (GimpController *controller
,gint event_id
);
gimp_controller_event ()
gboolean gimp_controller_event (GimpController *controller
,const GimpControllerEvent *event
);
Types and Values
struct GimpControllerEventAny
struct GimpControllerEventAny { GimpControllerEventType type; GimpController *source; gint event_id; };
Generic controller event. Every event has these three members at the beginning of its struct
Members
GimpControllerEventType |
The event's GimpControllerEventType |
|
GimpController * |
The event's source GimpController |
|
The event's ID |
struct GimpControllerEventTrigger
struct GimpControllerEventTrigger { GimpControllerEventType type; GimpController *source; gint event_id; };
Trigger controller event.
Members
GimpControllerEventType |
The event's GimpControllerEventType |
|
GimpController * |
The event's source GimpController |
|
The event's ID |
struct GimpControllerEventValue
struct GimpControllerEventValue { GimpControllerEventType type; GimpController *source; gint event_id; GValue value; };
Value controller event.
Members
GimpControllerEventType |
The event's GimpControllerEventType |
|
GimpController * |
The event's source GimpController |
|
The event's ID |
||
The event's value |
union GimpControllerEvent
A union to hjold all event event types
Members
GimpControllerEventType |
The event type |
|
GimpControllerEventAny |
||
GimpControllerEventTrigger |
GimpControllerEventTrigger |
|
GimpControllerEventValue |
GimpControllerEventValue |
Property Details
The “name”
property
“name” char *
The controller's name.
Owner: GimpController
Flags: Read / Write / Construct
Default value: "Unnamed Controller"
Signal Details
The “event”
signal
gboolean user_function (GimpController *gimpcontroller, gpointer arg1, gpointer user_data)
Flags: Run Last