get_cursor


Description:

public void get_cursor (out TreePath? path, out unowned TreeViewColumn? focus_column)

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

Parameters:

this

A TreeView

path

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

focus_column

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




2022 vala-language.org