From 660a75cc995f416ecc018b6ee278582651240631 Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Fri, 4 Aug 2000 14:14:44 +0000 Subject: Made drag events calculate a row and column and signal that information. 2000-08-04 Christopher James Lahey * e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h: Made drag events calculate a row and column and signal that information. * e-table-selection-model.c, e-table-selection-model.h: Changed do_something to take a GdkModifierType. svn path=/trunk/; revision=4529 --- widgets/e-table/e-table-group.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'widgets/e-table/e-table-group.c') diff --git a/widgets/e-table/e-table-group.c b/widgets/e-table/e-table-group.c index d3c6e2e08d..b47d01e151 100644 --- a/widgets/e-table/e-table-group.c +++ b/widgets/e-table/e-table-group.c @@ -238,6 +238,16 @@ e_table_group_get_printable (ETableGroup *etg) return NULL; } +void +e_table_group_compute_location (ETableGroup *etg, int *x, int *y, int *row, int *col) +{ + g_return_if_fail (etg != NULL); + g_return_if_fail (E_IS_TABLE_GROUP (etg)); + + if (ETG_CLASS (etg)->compute_location) + ETG_CLASS (etg)->compute_location (etg, x, y, row, col); +} + void e_table_group_cursor_change (ETableGroup *e_table_group, gint row) { @@ -355,6 +365,7 @@ etg_class_init (GtkObjectClass *object_class) klass->get_focus = etg_get_focus; klass->get_ecol = NULL; klass->get_printable = NULL; + klass->compute_location = NULL; etg_parent_class = gtk_type_class (PARENT_TYPE); -- cgit v1.2.3