diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-04-24 09:30:48 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-04-24 09:30:48 +0800 |
commit | 44c7d231440ad4f4ef59bfbf175be6cf35271e86 (patch) | |
tree | 9929929ac2369484283e05cac27bbcfacdfb4f57 /widgets/table/e-table-group-leaf.c | |
parent | fb53364c9c0114daa0f961965b38652016c900e5 (diff) | |
download | gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.gz gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.bz2 gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.lz gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.xz gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.zst gsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.zip |
Added get_cell_geometry method.
2001-04-23 Christopher James Lahey <clahey@ximian.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group-.h: Added get_cell_geometry method.
* e-table-item.c, e-table-item.h: Added
e_table_item_get_cell_geometry.
* e-table.c, e-table.h: Added e_table_get_cell_geometry.
svn path=/trunk/; revision=9532
Diffstat (limited to 'widgets/table/e-table-group-leaf.c')
-rw-r--r-- | widgets/table/e-table-group-leaf.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/widgets/table/e-table-group-leaf.c b/widgets/table/e-table-group-leaf.c index b1a91ad67e..c1e303f9e7 100644 --- a/widgets/table/e-table-group-leaf.c +++ b/widgets/table/e-table-group-leaf.c @@ -295,6 +295,13 @@ etgl_compute_location (ETableGroup *etg, int *x, int *y, int *row, int *col) } static void +etgl_get_cell_geometry (ETableGroup *etg, int *row, int *col, int *x, int *y, int *width, int *height) +{ + ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg); + e_table_item_get_cell_geometry (etgl->item, row, col, x, y, width, height); +} + +static void etgl_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) { ETableGroup *etg = E_TABLE_GROUP (object); @@ -427,7 +434,8 @@ etgl_class_init (GtkObjectClass *object_class) e_group_class->get_focus_column = etgl_get_focus_column; e_group_class->get_printable = etgl_get_printable; e_group_class->compute_location = etgl_compute_location; - + e_group_class->get_cell_geometry = etgl_get_cell_geometry; + gtk_object_add_arg_type ("ETableGroupLeaf::horizontal_draw_grid", GTK_TYPE_BOOL, GTK_ARG_WRITABLE, ARG_TABLE_HORIZONTAL_DRAW_GRID); gtk_object_add_arg_type ("ETableGroupLeaf::vertical_draw_grid", GTK_TYPE_BOOL, |