get_cursor


Description:

public bool get_cursor (out TreePath path, out unowned CellRenderer cell)

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

Note:

Use [class@Gtk.GridView] instead

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 free.

Parameters:

this

A `GtkIconView`

path

Return location for the current cursor path

cell

Return location the current focus cell

Returns:

true if the cursor is set.