Function Tree.getSelectedColumn
Returns the currently focused column, or -1 if no column is focused.
In constant SELECT_SINGLE
mode, the focused column is the selected column. In constant SELECT_ROW
mode, the focused column is always 0 if any item is selected. In constant SELECT_MULTI
mode, the focused column is the column under the focus cursor, and there are not necessarily any column selected.
To tell whether a column of an item is selected, use TreeItem
.
long getSelectedColumn() nothrow @nogc const;