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 TreeRowReferences.

class TreeSelection
getSelectedRows

Parameters

model TreeModelIF

A pointer to set to the GtkTreeModel, or NULL.

Return Value

Type: TreePath[]

A GList containing a GtkTreePath for each selected row.

Meta