Function

GtkListBoxSortFunc

since: 3.10

Declaration

gint
(*GtkListBoxSortFunc)(
GtkListBoxRow*row1,
GtkListBoxRow*row2,
gpointeruser_data
)

Description [src]

Compare two rows to determine which should be first.

Available since: 3.10

Parameters

row1

Type: GtkListBoxRow

The first row.

The data is owned by the caller of the function.
row2

Type: GtkListBoxRow

The second row.

The data is owned by the caller of the function.
user_data

Type: gpointer

User data.

The argument can be NULL.
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.

AltStyle によって変換されたページ (->オリジナル) /