diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1998-09-16 16:22:56 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1998-09-16 16:22:56 +0800 |
commit | 8d5c52e66ba588676298e206c1667899df611398 (patch) | |
tree | 16a3d723dfc18f0743fb9f81307803ca645a6776 /widgets | |
parent | 99fcfec213fc7d7f6ee57a16c50ec377b3fd8a9c (diff) | |
download | gsoc2013-evolution-8d5c52e66ba588676298e206c1667899df611398.tar.gz 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')
-rw-r--r-- | widgets/misc/e-cursors.c | 11 | ||||
-rw-r--r-- | widgets/misc/e-cursors.h | 11 |
2 files changed, 18 insertions, 4 deletions
diff --git a/widgets/misc/e-cursors.c b/widgets/misc/e-cursors.c index 2111d16d3b..4927277833 100644 --- a/widgets/misc/e-cursors.c +++ b/widgets/misc/e-cursors.c @@ -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 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 |