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_free().

class IconView
bool
getCursor

Parameters

path TreePath

Return location for the current cursor path, or %NULL

cell CellRenderer

Return location the current focus cell, or %NULL

Return: %TRUE if the cursor is set.

Meta