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 gtk.tree_path.TreePath must be freed with gtk.tree_path.TreePath.free.

Parameters

pathReturn location for the current cursor path
cellReturn location the current focus cell

Returns

true if the cursor is set.

Deprecated