[Gllug] pygtk treeview selection bug?

Tristan Hill stan at saticed.me.uk
Sun Aug 20 17:22:13 UTC 2006


On Sun, 2006-08-20 at 12:04 +0100, Troy Jendra wrote:

> # handle selections
> treeView.connect('cursor-changed', Selections)

the changed signal from the tree selection object is the preferred
signal
e.g.
treeView.get_selection().connect('changed', Selections)
Note the warning about this signal being a hint on
http://www.pygtk.org/pygtk2reference/class-gtktreeselection.html.
I guess the cursor-changed signal is fired to early to get the "latest"
selection.

HTH
Tristan

-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list