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.gtk/Ocgtk_gtk/Gtk/Wrappers/Gesture_rotate/index.html

Module Wrappers.Gesture_rotate

type t = [ `gesture_rotate | `gesture | `event_controller | `object_ ] Gobject.obj
val new_ : unit -> t

Create a new GestureRotate

val get_angle_delta : t -> float

Gets the angle delta in radians.

If @gesture is active, this function returns the angle difference in radians since the gesture was first recognized. If @gesture is not active, 0 is returned.

val on_angle_changed : ?after:bool -> t -> callback:(angle:float -> angle_delta:float -> unit) -> Gobject.Signal.handler_id