Sets our main struct and passes it to the parent class.
Creates a new numeric sorter using the given @expression.
Gets the expression that is evaluated to obtain numbers from items.
Get the main Gtk struct
Gets whether this sorter will sort smaller numbers first.
the main Gtk struct as a void*
Sets the expression that is evaluated to obtain numbers from items.
Sets whether to sort smaller numbers before larger ones.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
Emits the [signal@Gtk.Sorter::changed] signal to notify all users of the sorter that it has changed.
Compares two given items according to the sort order implemented by the sorter.
Gets the order that @self conforms to.
Emitted whenever the sorter changed.
GtkNumericSorter is a GtkSorter that compares numbers.
To obtain the numbers to compare, this sorter evaluates a [class@Gtk.Expression].