TreeViewColumn.getSortColumnId

int getSortColumnId()

Gets the logical sort_column_id that the model sorts on when this column is selected for sorting. See [gtk.tree_view_column.TreeViewColumn.setSortColumnId].

Returns

the current sort_column_id for this column, or -1 if

this column can’t be used for sorting.