]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/ocaml/ocaml/contrib/otherlibs/graph/graphicsX11.mli
Update
[l4.git] / l4 / pkg / ocaml / ocaml / contrib / otherlibs / graph / graphicsX11.mli
1 (***********************************************************************)
2 (*                                                                     *)
3 (*                           Objective Caml                            *)
4 (*                                                                     *)
5 (*    Pierre Weis and Jun Furuse, projet Cristal, INRIA Rocquencourt   *)
6 (*                                                                     *)
7 (*  Copyright 2001 Institut National de Recherche en Informatique et   *)
8 (*  en Automatique.  All rights reserved.  This file is distributed    *)
9 (*  under the terms of the GNU Library General Public License, with    *)
10 (*  the special exception on linking described in file ../../LICENSE.  *)
11 (*                                                                     *)
12 (***********************************************************************)
13
14 (* $Id: graphicsX11.mli 4144 2001-12-07 13:41:02Z xleroy $ *)
15
16 (** Additional graphics primitives for the X Windows system. *)
17
18 type window_id = string
19
20 val window_id : unit -> window_id
21 (** Return the unique identifier of the Caml graphics window.
22    The returned string is an unsigned 32 bits integer 
23    in decimal form. *)
24
25 val open_subwindow : x:int -> y:int -> width:int -> height:int -> window_id
26 (** Create a sub-window of the current Caml graphics window
27    and return its identifier. *)
28
29 val close_subwindow : window_id -> unit
30 (** Close the sub-window having the given identifier. *)
31