Re: Gtk{Tree,List} replacement proposal



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]