TreeSelection.getSelectedRows

Creates a list of path of all selected rows. Additionally, if you are planning on modifying the model after calling this function, you may want to convert the returned list into a list of gtk.tree_row_reference.TreeRowReferences. To do this, you can use gtk.tree_row_reference.TreeRowReference.new_.

To free the return value, use:

g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);
More...
class TreeSelection
getSelectedRows

Parameters

model gtk.tree_model.TreeModel

A pointer to set to the gtk.tree_model.TreeModel

Return Value

Type: gtk.tree_path.TreePath[]

A glib.list.List containing a gtk.tree_path.TreePath for each selected row.

Detailed Description

Deprecated: Use GtkListView or GtkColumnView