item-cursor.h 728 Bytes
Newer Older
1 2
#ifndef GNUMERIC_ITEM_CURSOR_H
#define GNUMERIC_ITEM_CURSOR_H
3

4
#include "gui-gnumeric.h"
5
#include <glib-object.h>
6

7 8
#define ITEM_CURSOR(obj)          (G_TYPE_CHECK_INSTANCE_CAST((obj), item_cursor_get_type (), ItemCursor))
#define IS_ITEM_CURSOR(o)         (G_TYPE_CHECK_INSTANCE_TYPE((o), item_cursor_get_type ()))
9 10 11 12

typedef enum {
	ITEM_CURSOR_SELECTION,
	ITEM_CURSOR_ANTED,
Arturo Espinosa's avatar
Arturo Espinosa committed
13 14
	ITEM_CURSOR_AUTOFILL,
	ITEM_CURSOR_DRAG,
15
	ITEM_CURSOR_BLOCK
16 17
} ItemCursorStyle;

18
GType item_cursor_get_type (void);
19

20
gboolean item_cursor_bound_set	    (ItemCursor *ic, Range const *bound);
21 22
void     item_cursor_set_visibility (ItemCursor *ic, gboolean visible);
void     item_cursor_reposition     (ItemCursor *ic);
23

24
#endif /* GNUMERIC_ITEM_CURSOR_H */