get_cursor


Description:

[ Version ( since = "2.8" ) ]
public bool get_cursor (out TreePath path, out unowned CellRenderer cell)

Fills in path and cell with the current cursor path and cell.

If the cursor isn’t currently set, then *path will be null. If no cell currently has focus, then *cell will be null.

The returned TreePath must be freed with free.

Parameters:

this

A IconView

path

Return location for the current cursor path, or null

cell

Return location the current focus cell, or null

Returns:

true if the cursor is set.




2022 vala-language.org