package ocgtk
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
OCaml bindings for GTK 4
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054
doc/ocgtk.gtk/Ocgtk_gtk/Gtk/Wrappers/Numeric_sorter/index.html
Module Wrappers.Numeric_sorter
type t = [ `numeric_sorter | `sorter | `object_ ] Gobject.objval new_ : [ `expression ] Gobject.obj option -> tCreate a new NumericSorter
val set_sort_order : t -> Gtk_enums.sorttype -> unitSets whether to sort smaller numbers before larger ones.
val set_expression : t -> [ `expression ] Gobject.obj option -> unitSets the expression that is evaluated to obtain numbers from items.
Unless an expression is set on @self, the sorter will always compare items as invalid.
The expression must have a return type that can be compared numerically, such as %G_TYPE_INT or %G_TYPE_DOUBLE.
val get_sort_order : t -> Gtk_enums.sorttypeGets whether this sorter will sort smaller numbers first.
val get_expression : t -> [ `expression ] Gobject.obj optionGets the expression that is evaluated to obtain numbers from items.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>