aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-cursors.h
diff options
context:
space:
mode:
authorArturo Espinosa <unammx@src.gnome.org>1998-09-16 16:22:56 +0800
committerArturo Espinosa <unammx@src.gnome.org>1998-09-16 16:22:56 +0800
commit8d5c52e66ba588676298e206c1667899df611398 (patch)
tree16a3d723dfc18f0743fb9f81307803ca645a6776 /widgets/misc/e-cursors.h
parent99fcfec213fc7d7f6ee57a16c50ec377b3fd8a9c (diff)
downloadgsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.gz
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.bz2
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.lz
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.xz
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.zst
gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.zip
Autofill lists work:
Autofill lists work: Integers, Floats, Formulas and constant strings works. Todo: Lists of known strings and strings with numbers embedded Miguel. svn path=/trunk/; revision=379
Diffstat (limited to 'widgets/misc/e-cursors.h')
-rw-r--r--widgets/misc/e-cursors.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/widgets/misc/e-cursors.h b/widgets/misc/e-cursors.h
index 2111d16d3b..4927277833 100644
--- a/widgets/misc/e-cursors.h
+++ b/widgets/misc/e-cursors.h
@@ -13,6 +13,13 @@ typedef struct {
extern GnumericCursorDef gnumeric_cursors [];
-void cursors_init (void);
-void cursors_shutdown (void);
+void cursors_init (void);
+void cursors_shutdown (void);
+
+#define cursor_set(win,c) \
+ gdk_window_set_cursor (win, gnumeric_cursors [c].cursor)
+
+#define cursor_set_widget(w,c) \
+ gdk_window_set_cursor (GTK_WIDGET (w)->window, gnumeric_cursors [c].cursor)
+
#endif