From 3c1ddb743e12aa5baa0e1fdab25eaddf4730b00d Mon Sep 17 00:00:00 2001 From: Miguel de Icaza Date: Wed, 26 Apr 2000 14:47:10 +0000 Subject: Add argument handling here. 2000-04-24 Miguel de Icaza * 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 --- widgets/e-table/e-table-group.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'widgets/e-table/e-table-group.h') diff --git a/widgets/e-table/e-table-group.h b/widgets/e-table/e-table-group.h index 877f38cf3f..43d8884a90 100644 --- a/widgets/e-table/e-table-group.h +++ b/widgets/e-table/e-table-group.h @@ -93,4 +93,8 @@ void e_table_group_row_selection (ETableGroup *etg, GtkType e_table_group_get_type (void); +typedef void (*ETableGroupLeafFn) (void *e_table_item, void *closure); +void e_table_group_apply_to_leafs (ETableGroup *etg, + ETableGroupLeafFn fn, void *closure); + #endif /* _E_TABLE_GROUP_H_ */ -- cgit v1.2.3