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/e-table/e-table-group-leaf.c | |
parent | ce5a8e3224fad1c20760809198a508e28eeb4c04 (diff) | |
download | gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.gz gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.bz2 gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.lz gsoc2013-evolution-660a75cc995f416ecc018b6ee278582651240631.tar.xz 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/e-table/e-table-group-leaf.c')
-rw-r--r-- | widgets/e-table/e-table-group-leaf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-group-leaf.c b/widgets/e-table/e-table-group-leaf.c index f6b540cdae..fa52e91d9d 100644 --- a/widgets/e-table/e-table-group-leaf.c +++ b/widgets/e-table/e-table-group-leaf.c @@ -240,6 +240,13 @@ etgl_get_printable (ETableGroup *etg) } static void +etgl_compute_location (ETableGroup *etg, int *x, int *y, int *row, int *col) +{ + ETableGroupLeaf *etgl = E_TABLE_GROUP_LEAF (etg); + e_table_item_compute_location (etgl->item, x, y, row, col); +} + +static void etgl_set_arg (GtkObject *object, GtkArg *arg, guint arg_id) { ETableGroup *etg = E_TABLE_GROUP (object); @@ -362,6 +369,7 @@ etgl_class_init (GtkObjectClass *object_class) e_group_class->get_cursor_row = etgl_get_cursor_row; 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; gtk_object_add_arg_type ("ETableGroupLeaf::drawgrid", GTK_TYPE_BOOL, GTK_ARG_WRITABLE, ARG_TABLE_DRAW_GRID); |