Introspection: fix problems with boxed type.
[gnumeric.git] / src / item-cursor.h
blob8af3c170ed3d9a1b910b17ec74848a4ba52ca2b3
1 #ifndef _GNM_ITEM_CURSOR_H_
2 #define _GNM_ITEM_CURSOR_H_
4 #include "gnumeric-fwd.h"
5 #include <glib-object.h>
7 G_BEGIN_DECLS
9 #define GNM_ITEM_CURSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), gnm_item_cursor_get_type (), GnmItemCursor))
10 #define GNM_IS_ITEM_CURSOR(o) (G_TYPE_CHECK_INSTANCE_TYPE((o), gnm_item_cursor_get_type ()))
12 typedef enum {
13 GNM_ITEM_CURSOR_SELECTION,
14 GNM_ITEM_CURSOR_ANTED,
15 GNM_ITEM_CURSOR_AUTOFILL,
16 GNM_ITEM_CURSOR_DRAG,
17 GNM_ITEM_CURSOR_EXPR_RANGE
18 } GnmItemCursorStyle;
20 GType gnm_item_cursor_get_type (void);
22 gboolean gnm_item_cursor_bound_set (GnmItemCursor *ic, GnmRange const *bound);
23 void gnm_item_cursor_set_visibility (GnmItemCursor *ic, gboolean visible);
24 void gnm_item_cursor_reposition (GnmItemCursor *ic);
26 G_END_DECLS
28 #endif /* _GNM_ITEM_CURSOR_H_ */