diff options
author | Miguel de Icaza <miguel@gnu.org> | 1999-11-16 04:59:29 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-16 04:59:29 +0800 |
commit | 5ba51e992d6f702cccdcc42402bc3086776d00d1 (patch) | |
tree | 93d613ce074df46981a1df8dc419ce39b02f0b1c /widgets/e-table/e-table-model.c | |
parent | 7b1bd483b937fb6bf3d59dda200a0e6af6f2cc00 (diff) | |
download | gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar.gz gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar.bz2 gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar.lz gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar.xz gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.tar.zst gsoc2013-evolution-5ba51e992d6f702cccdcc42402bc3086776d00d1.zip |
Add resizing capabilities.
1999-11-14 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c (is_pointer_on_division): Add resizing
capabilities.
* e-table-sorted.c: Finish implementation.
1999-11-13 Miguel de Icaza <miguel@gnu.org>
* e-table-sorted.c: Implement e-table-sorted object.
1999-11-12 Miguel de Icaza <miguel@gnu.org>
* e-table-header-item.c: Make the thing configurable.
* e-table-header-item.h: Add font field, location, height.
svn path=/trunk/; revision=1388
Diffstat (limited to 'widgets/e-table/e-table-model.c')
-rw-r--r-- | widgets/e-table/e-table-model.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-model.c b/widgets/e-table/e-table-model.c index 646aee77bd..c3b6674130 100644 --- a/widgets/e-table/e-table-model.c +++ b/widgets/e-table/e-table-model.c @@ -113,3 +113,23 @@ e_table_model_height (ETableModel *etable) return size; } +#if 0 +int +e_table_model_max_col_width (ETableModel *etm, int col) +{ + const int nvals = e_table_model_row_count (etm); + int max = 0; + int row; + + for (row = 0; row < nvals; row++){ + int w; + + w = e_table_model_cell_width (etm, col, i); + + if (w > max) + max = w; + } + + return max; +} +#endif |