Re: gtk2-perl tree signals



If a iter is selected using  $selection->get_selected(), it returns the 
"label" and or some scalar values, which differ each click.

If there are childs of differend parents, which have the same name, the app 
might run in trouble.
Is it possible to add user data to each iter?
I found gtk_tree_selection_get_user_data () in the API reference but trying to 
use it 
        my @u= $selection->get_user_data();
results: 
        Is gtk2-perl missing Gtk2::TreeSelection::get_user_data ?

And i didn't find any set_user_data, as it was in Gtk::Tree.

Or is there any other solution for this Problem?
Is it possible to get the parent of an iter?

Tx, Jens




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