GimpController 3 LIBGIMPWIDGETS Library GimpControllerPluggable GIMP input controller modules. Synopsis 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); Object Hierarchy GObject +----GimpController Properties "name" gchararray : Read / Write / Construct "state" gchararray : Read / Write / Construct Signal Prototypes "event" gboolean user_function (GimpController *gimpcontroller, gpointer arg1, gpointer user_data); Description An abstract interface for implementing arbitrary input controllers. Details <anchor id="GimpControllerEventType"/>enum GimpControllerEventType GimpControllerEventTypetypedef enum { GIMP_CONTROLLER_EVENT_TRIGGER, GIMP_CONTROLLER_EVENT_VALUE } GimpControllerEventType; <anchor id="GimpControllerEventAny"/>GimpControllerEventAny GimpControllerEventAnytypedef struct { GimpControllerEventType type; GimpController *source; gint event_id; } GimpControllerEventAny; <anchor id="GimpControllerEventTrigger"/>GimpControllerEventTrigger GimpControllerEventTriggertypedef struct { GimpControllerEventType type; GimpController *source; gint event_id; } GimpControllerEventTrigger; <anchor id="GimpControllerEventValue"/>GimpControllerEventValue GimpControllerEventValuetypedef struct { GimpControllerEventType type; GimpController *source; gint event_id; GValue value; } GimpControllerEventValue; <anchor id="GimpControllerEvent"/>union GimpControllerEvent GimpControllerEventunion GimpControllerEvent { GimpControllerEventType type; GimpControllerEventAny any; GimpControllerEventTrigger trigger; GimpControllerEventValue value; }; <anchor id="GimpController-struct"/>GimpController GimpControllertypedef struct _GimpController GimpController; <anchor id="gimp-controller-new"/>gimp_controller_new () gimp_controller_newGimpController* gimp_controller_new (GType controller_type); controller_type : Returns : <anchor id="gimp-controller-get-n-events"/>gimp_controller_get_n_events () gimp_controller_get_n_eventsgint gimp_controller_get_n_events (GimpController *controller); controller : Returns : <anchor id="gimp-controller-get-event-name"/>gimp_controller_get_event_name () gimp_controller_get_event_nameconst gchar* gimp_controller_get_event_name (GimpController *controller, gint event_id); controller : event_id : Returns : <anchor id="gimp-controller-get-event-blurb"/>gimp_controller_get_event_blurb () gimp_controller_get_event_blurbconst gchar* gimp_controller_get_event_blurb (GimpController *controller, gint event_id); controller : event_id : Returns : <anchor id="gimp-controller-event"/>gimp_controller_event () gimp_controller_eventgboolean gimp_controller_event (GimpController *controller, const GimpControllerEvent *event); controller : event : Returns : Properties <anchor id="GimpController--name"/>The "<literal>name</literal>" property "name" gchararray : Read / Write / Construct Default value: "Unnamed Controller" <anchor id="GimpController--state"/>The "<literal>state</literal>" property "state" gchararray : Read / Write / Construct Default value: "Unknown" Signals <anchor id="GimpController-event"/>The "event" signal gboolean user_function (GimpController *gimpcontroller, gpointer arg1, gpointer user_data); gimpcontroller : the object which received the signal. arg1 : user_data : user data set when the signal handler was connected. Returns :