Re: Gtk{Tree,List} replacement proposal
- From: Havoc Pennington <hp redhat com>
- To: Guy Harris <gharris flashcom net>
- Cc: Jonathan Blandford <jrb redhat com>, gtk-devel-list gnome org
- Subject: Re: Gtk{Tree,List} replacement proposal
- Date: 09 Jul 2000 21:23:44 -0400
Guy Harris <gharris@flashcom.net> writes:
> Is there an equivalent to the "freeze"/"thaw" notion in CLists, to
> arrange that if multiple changes are being made to the model, the
> application can arrange that the view be redrawn only after all changes
> are made? Or is it expected that updating the view on every change to
> the model won't cause the display to be too "busy" as the model is being
> changed?
>
Presumably changing the model just queues an idle handler that
actually changes the screen, that seems most sensible.
freeze/thaw has a lot of problems, including the one you mention, and
also it's an unintuitive API and generally just a hack around a widget
that should be better-designed.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]