IconView.getCursor

bool getCursor(out gtk.tree_path.TreePath path, out gtk.cell_renderer.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 #GtkTreePath must be freed with [gtk.tree_path.TreePath.free].

Parameters

pathReturn location for the current cursor path, or null
cellReturn location the current focus cell, or null

Returns

true if the cursor is set.