Package: gtk

Function gtk-tree-selection-selected-rows

Lambda List

gtk-tree-selection-selected-rows (selection)

Arguments

selection -- a gtk-tree-selection object

Return Value

A list containing a gtk-tree-path instance for each selected row.

Details

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 objects. To do this, you can use the function gtk-tree-row-reference-new.

Note

As a convenience the C implementation also gets the current model of the tree view wiget associated with the selection. Use the functions gtk-tree-selection-tree-view and gtk-tree-view-model instead to get the model.
 

See also

2021-2-27