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 #GtkTreePath must be freed with gtk_tree_path_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

Meta