package wayland
Pure OCaml Wayland protocol library
Install
Dune Dependency
Authors
Maintainers
Sources
wayland-1.1.tbz
sha256=cdeca72c7ff949cbd0fb4d1e1141e4cf7aa75368db7ced4667dd4404e0fbec2c
sha512=815a0987a184615df39e0acfb912fbdd7ba2a1ae1e65267d9eeac6a63afe9d205c4d3c335b92f770227ecc93cd88f8e65e84328cd3dc17523b5eb42676e032ee
doc/src/wayland.protocols/xdg_output_unstable_v1_proto.ml.html
Source file xdg_output_unstable_v1_proto.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
(* This file was generated automatically by wayland-scanner-ocaml *) open struct module Proxy = Wayland.Proxy module Iface_reg = Wayland.Iface_reg module Metadata = Wayland.Metadata end module Zxdg_output_manager_v1 = struct type t = [`Zxdg_output_manager_v1] type _ Metadata.ty += T : [`Zxdg_output_manager_v1] Metadata.ty type versions = [`V1 | `V2 | `V3] let interface = "zxdg_output_manager_v1" let version = 3l let requests = function | 0 -> "destroy", [] | 1 -> "get_xdg_output", ["id", `New_ID (Some "zxdg_output_v1"); "output", `Object (Some "wl_output")] | i -> Proxy.unknown_request i, [] let events = function | i -> Proxy.unknown_event i, [] end let () = Iface_reg.register (module Zxdg_output_manager_v1) module Zxdg_output_v1 = struct type t = [`Zxdg_output_v1] type _ Metadata.ty += T : [`Zxdg_output_v1] Metadata.ty type versions = [`V1 | `V2 | `V3] let interface = "zxdg_output_v1" let version = 3l let requests = function | 0 -> "destroy", [] | i -> Proxy.unknown_request i, [] let events = function | 0 -> "logical_position", ["x", `Int; "y", `Int] | 1 -> "logical_size", ["width", `Int; "height", `Int] | 2 -> "done", [] | 3 -> "name", ["name", `String] | 4 -> "description", ["description", `String] | i -> Proxy.unknown_event i, [] end let () = Iface_reg.register (module Zxdg_output_v1)
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>