Introspection: fix problems with boxed type.
[gnumeric.git] / src / complete-sheet.h
blobf01727158276bad0a36edb6443fd085e1802f77f
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef _GNM_COMPLETE_SHEET_H_
3 # define _GNM_COMPLETE_SHEET_H_
5 #include "gnumeric.h"
6 #include "complete.h"
8 G_BEGIN_DECLS
10 #define GNM_COMPLETE_SHEET_TYPE (gnm_complete_sheet_get_type ())
11 #define GNM_COMPLETE_SHEET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GNM_COMPLETE_SHEET_TYPE, GnmCompleteSheet))
12 #define GNM_IS_COMPLETE_SHEET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GNM_COMPLETE_SHEET_TYPE))
14 typedef struct {
15 GnmComplete parent;
17 /* Cell being entered into. */
18 Sheet *sheet;
19 GnmCellPos entry;
21 /* Where we are searching. */
22 GnmCellPos current;
23 GnmCell *cell;
25 char *current_text;
26 } GnmCompleteSheet;
28 typedef struct {
29 GnmCompleteClass parent_class;
30 } GnmCompleteSheetClass;
32 GType gnm_complete_sheet_get_type (void);
33 GnmComplete *gnm_complete_sheet_new (Sheet *sheet, int col, int row,
34 GnmCompleteMatchNotifyFn notify,
35 void *notify_closure);
37 G_END_DECLS
39 #endif /* _GNM_COMPLETE_SHEET_H_ */