English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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 (11:39)
From: Jon Harrop <jon@j...>
Subject: Re: [Caml-list] using Graphics wit more than one window
On Sunday 16 January 2005 10:10, Philippe Lelédy wrote:
> 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.

Marshalling is very handy as a way to botch things like this together.