1 #ifndef _GNM_SHEET_CONTROL_PRIV_H_
2 # define _GNM_SHEET_CONTROL_PRIV_H_
4 #include <sheet-control.h>
16 GObjectClass object_class
;
18 void (*resize
) (SheetControl
*sc
, gboolean force_scroll
);
19 void (*redraw_all
) (SheetControl
*sc
, gboolean headers
);
20 void (*redraw_range
) (SheetControl
*sc
, GnmRange
const *r
);
21 void (*redraw_headers
) (SheetControl
*sc
,
22 gboolean
const col
, gboolean
const row
,
24 void (*ant
) (SheetControl
*sc
);
25 void (*unant
) (SheetControl
*sc
);
26 void (*scrollbar_config
) (SheetControl
*sc
);
27 void (*mode_edit
) (SheetControl
*sc
);
28 void (*set_top_left
) (SheetControl
*sc
, int col
, int row
);
29 void (*recompute_visible_region
)(SheetControl
*sc
,
30 gboolean full_recompute
);
31 void (*make_cell_visible
) (SheetControl
*sc
, int col
, int row
,
32 gboolean couple_panes
);
33 void (*cursor_bound
) (SheetControl
*sc
, GnmRange
const *r
);
34 void (*set_panes
) (SheetControl
*sc
);
35 void (*object_create_view
) (SheetControl
*sc
, SheetObject
*so
);
36 void (*scale_changed
) (SheetControl
*sc
);
37 void (*show_im_tooltip
) (SheetControl
*sc
,
38 GnmInputMsg
*im
, GnmCellPos
*pos
);
41 #define SHEET_CONTROL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GNM_SHEET_CONTROL_TYPE, SheetControlClass))
45 #endif /* _GNM_SHEET_CONTROL_PRIV_H_ */