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_long_press/index.html
Module Wrappers.Gesture_long_press
type t =
[ `gesture_long_press
| `gesture_single
| `gesture
| `event_controller
| `object_ ]
Gobject.objval new_ : unit -> tCreate a new GestureLongPress
val set_delay_factor : t -> float -> unitApplies the given delay factor.
The default long press time will be multiplied by this value. Valid values are in the range 0.5..2.0.
val get_delay_factor : t -> floatReturns the delay factor.
val on_cancelled :
?after:bool ->
t ->
callback:(unit -> unit) ->
Gobject.Signal.handler_idval on_pressed :
?after:bool ->
t ->
callback:(x:float -> y:float -> unit) ->
Gobject.Signal.handler_id sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>