aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-group.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-24 09:30:48 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-24 09:30:48 +0800
commit44c7d231440ad4f4ef59bfbf175be6cf35271e86 (patch)
tree9929929ac2369484283e05cac27bbcfacdfb4f57 /widgets/table/e-table-group.c
parentfb53364c9c0114daa0f961965b38652016c900e5 (diff)
downloadgsoc2013-evolution-44c7d231440ad4f4ef59bfbf175be6cf35271e86.tar.gz
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.c')
-rw-r--r--widgets/table/e-table-group.c14
1 files changed, 10 insertions, 4 deletions
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);