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/Device/class-device/index.html

Class Device.device

method on_changed : ?after:bool -> callback:(unit -> unit) -> unit -> Gobject.Signal.handler_id
method on_tool_changed : ?after:bool -> callback:(tool:Ocgtk_gdk__.GDevice_tool.device_tool_t -> unit) -> unit -> Gobject.Signal.handler_id
method get_caps_lock_state : unit -> bool
method get_device_tool : unit -> Ocgtk_gdk__.GDevice_tool.device_tool_t option
method get_direction : unit -> Ocgtk_pango.Pango.direction
method get_display : unit -> Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.display_t
method get_has_cursor : unit -> bool
method get_modifier_state : unit -> Ocgtk_gdk__.Gdk_enums.modifiertype
method get_name : unit -> string
method get_num_lock_state : unit -> bool
method get_num_touches : unit -> int
method get_product_id : unit -> string option
method get_scroll_lock_state : unit -> bool
method get_seat : unit -> Ocgtk_gdk__.GApp_launch_context_cycle_de440b34.seat_t
method get_source : unit -> Ocgtk_gdk__.Gdk_enums.inputsource
method get_timestamp : unit -> UInt32.t
method get_vendor_id : unit -> string option
method has_bidi_layouts : unit -> bool
method n_axes : int
method tool : Ocgtk_gdk__.GDevice_tool.device_tool_t
method as_device : Ocgtk_gdk__.App_launch_context_cycle_de440b34.Device.t