Callbacks

FlexyGridSortFunc (cell_a, cell_b, *user_data)

Details

Endless.FlexyGridSortFunc(cell_a, cell_b, *user_data)
Parameters:
Returns:

-1 if cell_a should come before cell_b, 1 if cell_a should come after cell_b, or 0 if cell_a and cell_b are identical.

Return type:

int

Type for functions that determine the sort order of two cells inside the grid.

Deprecated since version 0.2: Use a Gtk.Grid instead