package wayland

  1. Overview
  2. Docs
Pure OCaml Wayland protocol library

Install

dune-project
 Dependency

Authors

Maintainers

Sources

wayland-2.3.tbz
sha256=10627a94f4cef97147991528fcd246f8f27ccbf3026eafdece995b53ee9468a0
sha512=8e319dc236d04cc9084bf81782497899dca12a392d649a2ac7bd1d5edc1101ebe2bc266a033e23ab9ed46a8b692018bc47005036d10872f7825f4aa4009ab825

doc/wayland.protocols/Wayland_protocols/Tablet_v2_client/Zwp_tablet_manager_v2/index.html

Module Tablet_v2_client.Zwp_tablet_manager_v2Source

Controller object for graphic tablet devices.

An object that provides access to the graphics tablets available on this system. All tablets are associated with a seat, to get access to the actual tablets, use zwp_tablet_manager_v2.get_tablet_seat.

Sourcetype 'v t = ([ `Zwp_tablet_manager_v2 ], 'v, [ `Client ]) Wayland.Proxy.t

Version 1, 2

Sourceval destroy : [< `V1 | `V2 ] t -> unit

Release the memory for the tablet manager object.

Destroy the zwp_tablet_manager_v2 object. Objects created from this object are unaffected and should be destroyed separately.

Sourceval get_tablet_seat : ([< `V1 | `V2 ] as 'a) t -> [[ `Zwp_tablet_seat_v2 ], 'a, [ `Client ]] Wayland.Proxy.Handler.t -> seat:([ `Wl_seat ], 'b, [ `Client ]) Wayland.Proxy.t -> ([ `Zwp_tablet_seat_v2 ], 'a, [ `Client ]) Wayland.Proxy.t

Get the tablet seat.

Get the zwp_tablet_seat_v2 object for the given seat. This object provides access to all graphics tablets in this seat.

Handlers

Note: Servers will always want to use v1.

Sourceclass +'a v1 : object ... end

Handler for a proxy with version >= 1.

Sourceclass +'a v2 : object ... end

Handler for a proxy with version >= 2.