aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table.h
diff options
context:
space:
mode:
authorMiguel de Icaza <miguel@helixcode.com>2000-04-26 22:47:10 +0800
committerMiguel de Icaza <miguel@src.gnome.org>2000-04-26 22:47:10 +0800
commit3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d (patch)
tree8380806df76f23fd1b81eefa0c0b70dba9bc1a3a /widgets/table/e-table.h
parentb2ae704032d1bd7b090b99a05be8a514b7ef1ea6 (diff)
downloadgsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar.gz
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar.bz2
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar.lz
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar.xz
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.tar.zst
gsoc2013-evolution-3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d.zip
Add argument handling here.
2000-04-24 Miguel de Icaza <miguel@helixcode.com> * e-table.c (e_table_class_init): Add argument handling here. * e-table-group-leaf.c (e_table_group_apply_to_leafs): New method. Enables us to walk all the children of an ETableGroup. * e-table.c (et_get_arg, et_set_arg): Implement ::get and ::set methods. (e_table_construct_from_spec_file): Now we return the etable. (e_table_construct): ditto. (et_real_construct): Now we return the ETable. Returns NULL on construct failure. (e_table_new): ditto. (e_table_new_from_spec_file): ditto. * (et_build_grouping_spec): Removed vestige code that still contained references to the etable->specification XML code. Dumped all the ifdefed out code. * e-table.h: Removed ETable->specification finally. svn path=/trunk/; revision=2632
Diffstat (limited to 'widgets/table/e-table.h')
-rw-r--r--widgets/table/e-table.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/widgets/table/e-table.h b/widgets/table/e-table.h
index d8c4709621..61fc5a41ae 100644
--- a/widgets/table/e-table.h
+++ b/widgets/table/e-table.h
@@ -40,17 +40,18 @@ typedef struct {
GnomeCanvasItem *header_item, *root;
- xmlDoc *specification;
-
- guint draw_grid:1;
- guint draw_focus:1;
- guint spreadsheet:1;
-
guint need_rebuild:1;
guint need_row_changes:1;
GHashTable *row_changes_list;
gint rebuild_idle_id;
+
+ /*
+ * Configuration settings
+ */
+ guint draw_grid:1;
+ guint draw_focus:1;
+ guint spreadsheet:1;
} ETable;
typedef struct {
@@ -59,19 +60,21 @@ typedef struct {
void (*row_selection) (ETable *et, int row, gboolean selected);
} ETableClass;
-GtkType e_table_get_type (void);
-void e_table_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
- const char *spec);
-GtkWidget *e_table_new (ETableHeader *full_header, ETableModel *etm,
- const char *spec);
+GtkType e_table_get_type (void);
-void e_table_construct_from_spec_file (ETable *e_table,
+ETable *e_table_construct (ETable *e_table, ETableHeader *full_header, ETableModel *etm,
+ const char *spec);
+GtkWidget *e_table_new (ETableHeader *full_header, ETableModel *etm,
+ const char *spec);
+
+ETable *e_table_construct_from_spec_file (ETable *e_table,
ETableHeader *full_header,
ETableModel *etm,
const char *filename);
GtkWidget *e_table_new_from_spec_file (ETableHeader *full_header,
ETableModel *etm,
const char *filename);
+
gchar *e_table_get_specification (ETable *e_table);
void e_table_save_specification (ETable *e_table, gchar *filename);