Method

GtkColumnViewSorterget_nth_sort_column

Declaration [src]

GtkColumnViewColumn*
gtk_column_view_sorter_get_nth_sort_column (
  GtkColumnViewSorter* self,
  guint position,
  GtkSortType* sort_order
)

Description [src]

Gets the positionth sort column and its associated sort order.

Use the GtkSorter::changed signal to get notified when sort columns change.

Available since:4.10

Parameters

position guint
 

The position of the sort column to retrieve (0 for the primary sort column)

sort_order GtkSortType
 

Return location for the sort order.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: GtkColumnViewColumn
 

The positions sort column.

 The data is owned by the instance.
 The return value can be NULL.