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/Section_model/index.html
Module Wrappers.Section_model
type t = [ `section_model ] Gobject.objval from_gobject : 'a Gobject.obj -> tval sections_changed : t -> int -> int -> unitval get_section : t -> int -> int * intQuery the section that covers the given position. The number of items in the section can be computed by `out_end - out_start`.
If the position is larger than the number of items, a single range from n_items to G_MAXUINT will be returned.
val on_sections_changed :
?after:bool ->
t ->
callback:(position:int -> n_items:int -> unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>