+
+ /**
+ * GritsViewer::clicked:
+ * @object: the object.
+ *
+ * The ::clicked signal is emitted when the user clicks on the object
+ */
+ signals[SIG_CLICKED] = g_signal_new(
+ "clicked",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__VOID,
+ G_TYPE_NONE,
+ 0);
+
+ /**
+ * GritsViewer::button-press:
+ * @object: the object.
+ * @event: the GdkEventButton which triggered this signal
+ *
+ * The ::button-press signal is emitted when a button (typically from a
+ * mouse) is pressed.
+ */
+ signals[SIG_BUTTON_PRESS] = g_signal_new(
+ "button-press",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE,
+ 1,
+ G_TYPE_POINTER);
+
+ /**
+ * GritsViewer::button-release:
+ * @object: the object.
+ * @event: the GdkEventButton which triggered this signal
+ *
+ * The ::button-release signal is emitted when a button (typically from
+ * a mouse) is released.
+ */
+ signals[SIG_BUTTON_RELEASE] = g_signal_new(
+ "button-release",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE,
+ 1,
+ G_TYPE_POINTER);
+
+ /**
+ * GritsViewer::key-press:
+ * @object: the object.
+ * @event: the GdkEventKey which triggered this signal
+ *
+ * The ::key-press signal is emitted when a key is pressed.
+ */
+ signals[SIG_KEY_PRESS] = g_signal_new(
+ "key-press",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE,
+ 1,
+ G_TYPE_POINTER);
+
+ /**
+ * GritsViewer::key-release:
+ * @object: the object.
+ * @event: the GdkEventKey which triggered this signal
+ *
+ * The ::key-release signal is emitted when a key is released.
+ */
+ signals[SIG_KEY_RELEASE] = g_signal_new(
+ "key-release",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE,
+ 1,
+ G_TYPE_POINTER);
+
+ /**
+ * GritsViewer::motion:
+ * @object: the object.
+ * @event: the GdkEventMotion which triggered this signal
+ *
+ * The ::motion signal is emitted the pointer moves over the object
+ */
+ signals[SIG_MOTION] = g_signal_new(
+ "motion",
+ G_TYPE_FROM_CLASS(gobject_class),
+ G_SIGNAL_RUN_LAST,
+ 0,
+ NULL,
+ NULL,
+ g_cclosure_marshal_VOID__POINTER,
+ G_TYPE_NONE,
+ 1,
+ G_TYPE_POINTER);