Function
GtkListBoxSortFunc
since: 3.10
Declaration
gint
(*GtkListBoxSortFunc)(
GtkListBoxRow*row1,
GtkListBoxRow*row2,
gpointeruser_data
)
Parameters
row1-
Type:
GtkListBoxRowThe first row.
The data is owned by the caller of the function. row2-
Type:
GtkListBoxRowThe second row.
The data is owned by the caller of the function. user_data-
Type:
gpointerUser data.
The argument can beNULL.The data is owned by the caller of the function.
Return value
Type: gint
< 0 if row1 should be before row2, 0 if they are
equal and > 0 otherwise.