TreeView.getCursor

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.TreePath must be freed with TreePath.free when you are done with it.

class TreeView
void
getCursor

Parameters

path TreePath

A pointer to be filled with the current cursor path, or NULL

focusColumn TreeViewColumn

A pointer to be filled with the current focus column, or NULL