aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-03-15 14:12:20 -0500
committerCody Russell <crussell@canonical.com>2010-03-15 14:12:20 -0500
commit4adb9ab724e53a65603fe53abbb96304a8cab260 (patch)
tree49daeae11a1c1c5eafb2d4e3e3f4d7cf10f03c39 /libindicator/indicator-object.h
parentbb8b7032dfd93cd0cdad55967b973dd4de7ca044 (diff)
downloadlibayatana-indicator-4adb9ab724e53a65603fe53abbb96304a8cab260.tar.gz
libayatana-indicator-4adb9ab724e53a65603fe53abbb96304a8cab260.tar.bz2
libayatana-indicator-4adb9ab724e53a65603fe53abbb96304a8cab260.zip
Add 'scroll' signal.
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 0356d1c..335dc0d 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -42,6 +42,8 @@ G_BEGIN_DECLS
#define INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_ENTRY_REMOVED, INDICATOR_OBJECT_TYPE))
#define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED "entry-moved"
#define INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_ENTRY_MOVED, INDICATOR_OBJECT_TYPE))
+#define INDICATOR_OBJECT_SIGNAL_SCROLL "scroll"
+#define INDICATOR_OBJECT_SIGNAL_SCROLL_ID (g_signal_lookup(INDICATOR_OBJECT_SIGNAL_SCROLL, INDICATOR_OBJECT_TYPE))
typedef struct _IndicatorObject IndicatorObject;
typedef struct _IndicatorObjectClass IndicatorObjectClass;
@@ -75,7 +77,7 @@ typedef struct _IndicatorObjectEntry IndicatorObjectEntry;
*/
struct _IndicatorObjectClass {
GObjectClass parent_class;
-
+
/* Virtual Functions */
GtkLabel * (*get_label) (IndicatorObject * io);
GtkImage * (*get_image) (IndicatorObject * io);
@@ -85,13 +87,13 @@ struct _IndicatorObjectClass {
guint (*get_location) (IndicatorObject * io, IndicatorObjectEntry * entry);
/* Signals */
- void (*entry_added) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
- void (*entry_removed) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
- void (*entry_moved) (IndicatorObject * io, IndicatorObjectEntry * entry, guint old_pos, guint new_pos, gpointer user_data);
+ void (*entry_added) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
+ void (*entry_removed) (IndicatorObject * io, IndicatorObjectEntry * entry, gpointer user_data);
+ void (*entry_moved) (IndicatorObject * io, IndicatorObjectEntry * entry, guint old_pos, guint new_pos, gpointer user_data);
+ void (*scroll) (IndicatorObject * io, gint delta, gboolean orientation);
/* Reserved */
void (* indicator_object_reserved_1) (void);
- void (* indicator_object_reserved_2) (void);
};
/**