gtkTreeSortableSetSortFunc {RGtk2} | R Documentation

## gtkTreeSortableSetSortFunc

### Description

Sets the comparison function used when sorting to be `sort.func`. If the current sort column id of `sortable` is the same as `sort.column.id`, then the model will sort using this function.

### Usage

    gtkTreeSortableSetSortFunc(object, sort.column.id, sort.func,
        user.data = NULL)

### Arguments

``object`` | A `GtkTreeSortable`
``sort.column.id`` | the sort column id to set the function for
``sort.func`` | The comparison function
``user.data`` | User data to pass to `sort.func`, or `NULL`. [ allow-none ]

### Author(s)

Derived by RGtkGen from GTK+ documentation

[Package RGtk2 version 2.20.36.3 Index]