Re: gtk.TreeModel.iter_children() method, how often should it be called?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FWIW I just discovered (after a tip from a colleague) that disabling
Assistive Tecchnologies eliminates the problem altogether.  So I
conclude that there is something happening between atk and gtk that
causes much unnecessary chatter leading to the high method calls that
I have been seeing.

On Thu, Jun 25, 2009 at 6:20 AM, Kristian Rietveld<kris@xxxxxxx> wrote:
> On Wed, Jun 24, 2009 at 1:51 AM, Gerald Britton<gerald.britton@xxxxxxxxx> wrote:
>> look for the problem.   As it is I'm thoroughly stumped, mainly
>> because I don't understand what TreeView is looking for to know it's
>> time to stop calling iter_next.
>
> Looking when it's time to stop is not up to tree view.  For a redraw,
> tree view makes a single pass through the visible nodes of the model.
> In your case the tree view appears to be repeatedly redrawing itself.
> This implies that there must be something triggering these redraws.
> As I mentioned, this is probably either a model continuously emitting
> row-changed (or other changes in the model) or any code calling
> gtk_widget_queue_redraw() or resize().
>
>
> regards,
>
> -kris.
>



-- 
Gerald Britton
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux