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 #GtkTreePath 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, or null
focusColumnA pointer to be filled with the current focus column, or null