diff options
author | Chris Toshok <toshok@ximian.com> | 2003-02-17 10:38:15 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-02-17 10:38:15 +0800 |
commit | baa50a5c8934d74573914b6425a5457f420fba93 (patch) | |
tree | 1364d3782247632088cf6b0bfe97bfbcd08e8ae8 /composer/Composer.idl | |
parent | 9e048335b618fea2076c690479cd655d35a56515 (diff) | |
download | gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar.gz gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar.bz2 gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar.lz gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar.xz gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.tar.zst gsoc2013-evolution-baa50a5c8934d74573914b6425a5457f420fba93.zip |
enable this function to reflow the view from a particular column onward.
2003-02-16 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-reflow.c (reflow_columns): enable this function to
reflow the view from a particular column onward. This is useful
if you have a huge model and the only changes are happening at the
end (as is normally the case if you're appending to a large
model.)
(item_changed): calculate the height of the changed item here, so
we aren't doing it as we reflow the model. For now, reflow the
entire model. Further optimization can be done here.
(item_removed): new function. remove the item and reflow from the
column that contained it.
(items_inserted): calculate the heights of the new items, and
calculate the lowest numbered column containing one of the
inserted items. reflow from there.
(model_changed): calculate the heights of everything here.
(comparison_changed): new function, clear the sorter and reflow.
(disconnect_model): disconnect comparison_changed and
model_item_removed.
(connect_model): connect comparison_changed and
model_item_removed.
(adjustment_changed): use queue_incarnate here, instead of forcing
the reflow model to incarnate as we scroll. Not sure if this is
actually the right solution, but it does make the scrollbar more
responsive at the cost of redraw speed.
* gal/widgets/e-reflow.h (struct _EReflow): add slots for the new
signal ids, as well as "reflow_from_column".
* gal/widgets/e-reflow-model.c (e_reflow_model_class_init): create
the comparison_changed and model_item_removed signals.
(e_reflow_model_comparison_changed): new function, emit the
comparison_changed signal.
(e_reflow_model_item_removed): new function, emit the
model_item_removed signal.
* gal/widgets/e-reflow-model.h: add comparison_changed and
model_item_removed signals.
svn path=/trunk/; revision=19917
Diffstat (limited to 'composer/Composer.idl')
0 files changed, 0 insertions, 0 deletions