Callbacks¶
|
Details¶
- Endless.FlexyGridSortFunc(cell_a, cell_b, *user_data)¶
- Parameters:
cell_a (
Endless.FlexyGridCell
) – first cell to comparecell_b (
Endless.FlexyGridCell
) – second cell to compareuser_data (
object
orNone
) – data passed toEndless.FlexyGrid.set_sort_func
()
- 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:
Type for functions that determine the sort order of two cells inside the grid.
Deprecated since version 0.2: Use a
Gtk.Grid
instead