Gtk.TreeView.prototype.columns_autosize

function columns_autosize():void {
    // Gjs wrapper for gtk_tree_view_columns_autosize()
}

Resizes all columns to their optimal width. Only works after the treeview has been realized.