Re: gtk.TreeModel.iter_children() method, how often should it be called?
- From: Gerald Britton <gerald britton gmail com>
- To: Kristian Rietveld <kris gtk org>
- Cc: gtk-list gnome org
- Subject: Re: gtk.TreeModel.iter_children() method, how often should it be called?
- Date: Thu, 25 Jun 2009 11:29:23 -0400
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 gtk org> wrote:
> On Wed, Jun 24, 2009 at 1:51 AM, Gerald Britton<gerald britton gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]