projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
moved knowledge of pspp_linreg_cache out of pspp_coeff_init
[pspp]
/
lib
/
gtksheet
/
gsheetmodel.h
diff --git
a/lib/gtksheet/gsheetmodel.h
b/lib/gtksheet/gsheetmodel.h
index 4ee06836cc757fa541f6c87b2f9bf3a1611b92db..39ab173f3593a3e4582b0e71ab0e7a4f7a858da0 100644
(file)
--- a/
lib/gtksheet/gsheetmodel.h
+++ b/
lib/gtksheet/gsheetmodel.h
@@
-84,6
+84,14
@@
struct _GSheetModelIface
void (* rows_deleted) (GSheetModel *sheet_model,
gint row, gint n_rows);
void (* rows_deleted) (GSheetModel *sheet_model,
gint row, gint n_rows);
+ void (* columns_inserted) (GSheetModel *sheet_model,
+ gint column, gint n_columns);
+
+ void (* columns_deleted) (GSheetModel *sheet_model,
+ gint column, gint n_columns);
+
+
+
/* Virtual Table */
/* Virtual Table */
@@
-114,6
+122,11
@@
struct _GSheetModelIface
const GtkSheetCellBorder * (* get_cell_border) (const GSheetModel *sheet_model,
gint row, gint column);
const GtkSheetCellBorder * (* get_cell_border) (const GSheetModel *sheet_model,
gint row, gint column);
+
+ gint (*get_column_count) (const GSheetModel *model);
+
+ gint (*get_row_count) (const GSheetModel *model);
+
};
};
@@
-142,6
+155,13
@@
inline void g_sheet_model_rows_deleted (GSheetModel *sheet_model,
inline void g_sheet_model_rows_inserted (GSheetModel *sheet_model,
gint row, gint n_rows);
inline void g_sheet_model_rows_inserted (GSheetModel *sheet_model,
gint row, gint n_rows);
+inline void g_sheet_model_columns_inserted (GSheetModel *sheet_model,
+ gint column, gint n_columns);
+
+inline void g_sheet_model_columns_deleted (GSheetModel *sheet_model,
+ gint column, gint n_columns);
+
+
inline gboolean g_sheet_model_is_editable (const GSheetModel *model,
gint row, gint column);
inline gboolean g_sheet_model_is_editable (const GSheetModel *model,
gint row, gint column);
@@
-168,7
+188,9
@@
inline const GtkSheetCellBorder * g_sheet_model_get_cell_border
inline gboolean g_sheet_model_free_strings (const GSheetModel *sheet_model);
inline gboolean g_sheet_model_free_strings (const GSheetModel *sheet_model);
+inline gint g_sheet_model_get_column_count(const GSheetModel *sheet_model);
+inline gint g_sheet_model_get_row_count(const GSheetModel *sheet_model);
G_END_DECLS
G_END_DECLS