[pygtk] Treeview/ListStore and row_activated()
Jeffrey Barish
jeff_barish at earthlink.net
Sun Sep 28 03:07:24 WST 2008
Timo wrote:
> Hello, in my program I have a Treeview with a ListStore. I want to
> update a lable according to the row that is selected, and it works with
> row_activated(). The problem is that it needs to be double clicked. Is
> there a way that the program can see if the row selection has been
> changed with one click?
>
> Cheers
You want the TreeSelection for the TreeView (get_selection on the TreeView).
Then catch the 'changed' signal on the TreeSelection.
--
Jeffrey Barish
More information about the pygtk
mailing list