Gtk3::TreeSelection and get_selected_rows

2013-02-18 Thread Dan Kasak
More Gtk2 ==> Gtk3 questions ... When I do $tree_selection->get_selected_rows, I get an array, which appears to have: - row[0]: an array of Gtk3::TreePath objects - row[1]: the model ( in my case, a Gtk3::ListStore ) Is this expected? The docs: http://developer.gnome.org/gtk3/3.0/GtkTreeSelecti

Re: Gtk3::TreeSelection and get_selected_rows

2013-02-19 Thread Torsten Schoenfeld
On 19.02.2013 05:34, Dan Kasak wrote: More Gtk2 ==> Gtk3 questions ... When I do $tree_selection->get_selected_rows, I get an array, which appears to have: - row[0]: an array of Gtk3::TreePath objects - row[1]: the model ( in my case, a Gtk3::ListStore ) Is this expected? Yes. Gtk2 does thi

Re: Gtk3::TreeSelection and get_selected_rows

2013-02-20 Thread Dan Kasak
On Tue, 2013-02-19 at 10:31 +, Torsten Schoenfeld wrote: > On 19.02.2013 05:34, Dan Kasak wrote: > > More Gtk2 ==> Gtk3 questions ... > > > > When I do $tree_selection->get_selected_rows, I get an array, which > > appears to have: > > > > - row[0]: an array of Gtk3::TreePath objects > > - row[1