package graphics

  1. Overview
  2. Docs
The OCaml graphics library

Install

Dune Dependency

Authors

Maintainers

Sources

5.2.0.tar.gz
sha256=baa99f5316c26df0844ee68921f531e554aab7ea2a1c881f30bd8365309077b0
sha512=3a9a534b438aff86fd7ac83b394ae118e79538dcce7787e587039310b6e8fd9b352cadd54392c6190bbf8127e227bcefec1902c714ed2dc987a6e5694170b6b4

doc/graphics/GraphicsX11/index.html

Module GraphicsX11Source

Additional graphics primitives for the X Windows system.

Sourcetype window_id = string
Sourceval window_id : unit -> window_id

Return the unique identifier of the OCaml graphics window. The returned string is an unsigned 32 bits integer in decimal form.

Sourceval open_subwindow : x:int -> y:int -> width:int -> height:int -> window_id

Create a sub-window of the current OCaml graphics window and return its identifier.

Sourceval close_subwindow : window_id -> unit

Close the sub-window having the given identifier.

OCaml

Innovation. Community. Security.