get_selected_rows


Description:

public List<TreePath> get_selected_rows (out unowned TreeModel model)

Creates a list of path of all selected rows.

Note:

Use GtkListView or GtkColumnView

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 `GtkTreeRowReference`s. To do this, you can use TreeRowReference.

To free the return value, use:

g_list_free_full (list, (GDestroyNotify) gtk_tree_path_free);

Parameters:

this

A `GtkTreeSelection`.

model

A pointer to set to the `GtkTreeModel`

Returns:

A `GList` containing a `GtkTreePath` for each selected row.