From 44c7d231440ad4f4ef59bfbf175be6cf35271e86 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Tue, 24 Apr 2001 01:30:48 +0000 Subject: Added get_cell_geometry method. 2001-04-23 Christopher James Lahey * 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 --- widgets/table/e-table-group.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'widgets/table/e-table-group.c') diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c index f70b9abaf6..c31be579d4 100644 --- a/widgets/table/e-table-group.c +++ b/widgets/table/e-table-group.c @@ -381,13 +381,19 @@ e_table_group_compute_location (ETableGroup *etg, int *x, int *y, int *row, int * removed from the value row points to. */ void -e_table_group_get_position (ETableGroup *etg, int *x, int *y, int *row, int *col) +e_table_group_get_cell_geometry (ETableGroup *etg, + int *row, + int *col, + int *x, + int *y, + int *width, + int *height) { g_return_if_fail (etg != NULL); g_return_if_fail (E_IS_TABLE_GROUP (etg)); - if (ETG_CLASS (etg)->get_position) - ETG_CLASS (etg)->get_position (etg, x, y, row, col); + if (ETG_CLASS (etg)->get_cell_geometry) + ETG_CLASS (etg)->get_cell_geometry (etg, row, col, x, y, width, height); } /** @@ -592,7 +598,7 @@ etg_class_init (GtkObjectClass *object_class) klass->get_focus = etg_get_focus; klass->get_printable = NULL; klass->compute_location = NULL; - klass->get_position = NULL; + klass->get_cell_geometry = NULL; etg_parent_class = gtk_type_class (PARENT_TYPE); -- cgit v1.2.3