Re: Treeview, Treeselection and row selection



On Sat, 2004-10-09 at 14:49, kbg wrote:

I want that "$selected" takes the value of the selected row ('Francais'
or 'English') so i try with "get_selected" from TreeSelection but it
doesn t work, "$selected" is empty

The user had no chance to select a row since you just created the list,
and you didn't manually select anything either, so there just is no
selection yet.  You could connect to the "changed" signal of the
selection object, or just call get_selected() later, when the user has
had a chance to select something.

-- 
Bye,
-Torsten




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