TreeView.getCursor

void getCursor(out gtk.tree_path.TreePath path, out gtk.tree_view_column.TreeViewColumn focusColumn)

Fills in path and focus_column with the current path and focus column. If the cursor isn’t currently set, then *path will be null. If no column currently has focus, then *focus_column will be null.

The returned [gtk.tree_path.TreePath] must be freed with [gtk.tree_path.TreePath.free] when you are done with it.

Parameters

pathA pointer to be filled with the current cursor path
focusColumnA pointer to be filled with the current focus column

Deprecated

Use [gtk.list_view.ListView] or [gtk.column_view.ColumnView] instead