[Sugar-devel] How to have "CellRenderer.props" take effect, without a UI refresh?

Sascha Silbe silbe at activitycentral.com
Tue Jul 24 09:06:41 EDT 2012


Ajay Garg <ajay at activitycentral.com> writes:

> This piece of code works as expected, and the toggling-UI-effect takes
> place as soon as the star/favorite-icon is clicked (that is, the
> mouse-pointer need not be hovered away).
> But note that, there is listview-refresh involved after each toggling of
> the star/favorite-icon.

What exactly do you mean by "listview-refresh"? Do you mean a) a redraw
of the current content or b) some operation that causes us to query the
data store (or file system)?


> If the listview-refresh is inhibited, the toggling-UI-effect does take
> place, but ONLY AFTER the mouse-pointer is hovered away from the
> star/favorite-icon.

What exactly do you mean by "listview-refresh is inhibited"? How did you
inhibit it?

Sascha
-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120724/229f1cc1/attachment.pgp>


More information about the Sugar-devel mailing list