Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
Re: [Caml-list] using Graphics wit more than one window
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-01-16 (10:10)
From: Philippe_Lelédy <phl@l...>
Subject: Re: [Caml-list] using Graphics wit more than one window
*Richard Jones wrote:


> You might want to migrate to a "proper" solution sooner rather than later. 

As a teacher I'd like to be able to open an Ocaml Graphics window on each of my students display.
It's not possible with one instance of Ocaml, because Graphics.open_graph does 2 actions, 
opening a socket with an X11 server and opening a window on this server -- further instance 
of open_graph will only do the second action with the previous opened socket.

Perhaps will I have to rely on another mechanism to replicate windows over displays.

Ph. L