package graphics

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

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.