Gtk3::TreeSelection and get_selected_rows



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/GtkTreeSelection.html#gtk-tree-selection-get-selected-rows

don't say anything about getting the model back.

Just checking ...

Dan



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