Gtk2::TreeSelection
wrapper for GtkTreeSelection
- Provided by: libgtk2-perl-doc (Version: 2:1.2498-1)
- Source: libgtk2-perl
- Report a bug
wrapper for GtkTreeSelection
Glib::Object +----Gtk2::TreeSelection
Call $func on every selected row in $selection's view.
Since most of the time you are only interested in the iter, "get_selected" returns only the iter in scalar context.
Returns the Gtk2::TreePath of each selected row, or an empty list if no rows are selected. The model is not returned, as documented in the C API reference. To get the model, try "$selection->get_tree_view->get_model".
Since: gtk+ 2.2
Gtk2, Glib::Object
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.