GimpControllerInfo

GimpControllerInfo

Synopsis

                    GimpControllerInfo;
gboolean            (*GimpControllerEventSnooper)       (GimpControllerInfo *info,
                                                         GimpController *controller,
                                                         const GimpControllerEvent *event,
                                                         gpointer user_data);
GimpControllerInfo * gimp_controller_info_new           (GType type);
void                gimp_controller_info_set_enabled    (GimpControllerInfo *info,
                                                         gboolean enabled);
gboolean            gimp_controller_info_get_enabled    (GimpControllerInfo *info);
void                gimp_controller_info_set_event_snooper
                                                        (GimpControllerInfo *info,
                                                         GimpControllerEventSnooper snooper,
                                                         gpointer snooper_data);

Object Hierarchy

  GObject
   +----GimpObject
         +----GimpViewable
               +----GimpControllerInfo

Implemented Interfaces

GimpControllerInfo implements GimpConfigInterface.

Properties

  "controller"               GimpController*       : Read / Write
  "debug-events"             gboolean              : Read / Write / Construct
  "enabled"                  gboolean              : Read / Write / Construct
  "mapping"                  GHashTable*           : Read / Write

Signals

  "event-mapped"                                   : Run Last

Description

Details

GimpControllerInfo

typedef struct _GimpControllerInfo GimpControllerInfo;


GimpControllerEventSnooper ()

gboolean            (*GimpControllerEventSnooper)       (GimpControllerInfo *info,
                                                         GimpController *controller,
                                                         const GimpControllerEvent *event,
                                                         gpointer user_data);


gimp_controller_info_new ()

GimpControllerInfo * gimp_controller_info_new           (GType type);


gimp_controller_info_set_enabled ()

void                gimp_controller_info_set_enabled    (GimpControllerInfo *info,
                                                         gboolean enabled);


gimp_controller_info_get_enabled ()

gboolean            gimp_controller_info_get_enabled    (GimpControllerInfo *info);


gimp_controller_info_set_event_snooper ()

void                gimp_controller_info_set_event_snooper
                                                        (GimpControllerInfo *info,
                                                         GimpControllerEventSnooper snooper,
                                                         gpointer snooper_data);

Property Details

The "controller" property

  "controller"               GimpController*       : Read / Write


The "debug-events" property

  "debug-events"             gboolean              : Read / Write / Construct

Default value: FALSE


The "enabled" property

  "enabled"                  gboolean              : Read / Write / Construct

Default value: TRUE


The "mapping" property

  "mapping"                  GHashTable*           : Read / Write

Signal Details

The "event-mapped" signal

gboolean            user_function                      (GimpControllerInfo *gimpcontrollerinfo,
                                                        GObject            *arg1,
                                                        gpointer            arg2,
                                                        gchar              *arg3,
                                                        gpointer            user_data)               : Run Last

gimpcontrollerinfo :

the object which received the signal.

user_data :

user data set when the signal handler was connected.