IconView.getCursor

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.

class IconView
bool
getCursor

Parameters

path gtk.tree_path.TreePath

Return location for the current cursor path, or null

cell gtk.cell_renderer.CellRenderer

Return location the current focus cell, or null

Return Value

Type: bool

true if the cursor is set.