About my projects, examples and tutorials
Gnome::Gtk4::T-treesortable

Gnome::Gtk4::T-treesortable

Constants§

GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID§

Uses the default sort function in a /content-docs/api2/reference/Gnome::Gtk4::R-TreeSortable.

See also: .set-sort-column-id()

GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID§

Disables sorting in a /content-docs/api2/reference/Gnome::Gtk4::R-TreeSortable.

See also: .set-sort-column-id()

Callback Functions§

TreeIterCompareFunc§

Signature§

:(  N-Object() $model, N-Object $a, N-Object $b, gpointer $user-data  )
Code
  • $model; The Gnome::Gtk4::R-TreeModel the comparison is within
  • $a; A Gnome::Gtk4::N-TreeIter in $model
  • $b; Another Gnome::Gtk4::N-TreeIter in $model
  • $user-data; Data passed when the compare func is assigned e.g. by .set-sort-func()