package ocgtk

  1. Overview
  2. Docs
OCaml bindings for GTK 4

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.1-preview2.tar.gz
sha256=4e50fdb5093136a10fc8ffbe388e44cbcb70d52f8afdd48863ec7e22580ff054

doc/ocgtk.gdk/Ocgtk_gdk/Gdk/Wrappers/Touchpad_event/index.html

Module Wrappers.Touchpad_event

type t = [ `touchpad_event | `event ] Gobject.obj
val get_pinch_scale : t -> float

Extracts the scale from a touchpad pinch event.

val get_pinch_angle_delta : t -> float

Extracts the angle delta from a touchpad pinch event.

val get_n_fingers : t -> int

Extracts the number of fingers from a touchpad event.

val get_gesture_phase : t -> Gdk_enums.touchpadgesturephase

Extracts the touchpad gesture phase from a touchpad event.

val get_deltas : t -> float * float

Extracts delta information from a touchpad event.