diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-04 22:14:44 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-04 22:14:44 +0800 |
commit | 660a75cc995f416ecc018b6ee278582651240631 (patch) | |
tree | 072f90be0799fef5baf18e87383fbbd9155cf343 /widgets/table/e-table-group.c | |
parent | ce5a8e3224fad1c20760809198a508e28eeb4c04 (diff) | |
download | gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.gz gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.zst gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.zip |
Made drag events calculate a row and column and signal that information.
2000-08-04 Christopher James Lahey <clahey@helixcode.com>
* 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
Diffstat (limited to 'widgets/table/e-table-group.c')
-rw-r--r-- | widgets/table/e-table-group.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/widgets/table/e-table-group.c b/widgets/table/e-table-group.c index d3c6e2e08d..b47d01e151 100644 --- a/widgets/table/e-table-group.c +++ b/widgets/table/e-table-group.c @@ -239,6 +239,16 @@ e_table_group_get_printable (ETableGroup *etg) } 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) { g_return_if_fail (e_table_group != NULL); @@ -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); |