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/Gesture_pan/index.html
Module Wrappers.Gesture_pan
type t =
[ `gesture_pan
| `gesture_drag
| `gesture_single
| `gesture
| `event_controller
| `object_ ]
Gobject.objval new_ : Gtk_enums.orientation -> tCreate a new GesturePan
val set_orientation : t -> Gtk_enums.orientation -> unitSets the orientation to be expected on pan gestures.
val get_orientation : t -> Gtk_enums.orientationReturns the orientation of the pan gestures that this @gesture expects.
val on_pan :
?after:bool ->
t ->
callback:(direction:Gtk_enums.pandirection -> offset:float -> unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>