caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Re: [Caml-list] using Graphics wit more than one window
@ 2005-01-16 10:10 Philippe Lelédy
  2005-01-16 11:41 ` Jon Harrop
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Philippe Lelédy @ 2005-01-16 10:10 UTC (permalink / raw)
  To: Caml-list

*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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] using Graphics wit more than one window
  2005-01-16 10:10 [Caml-list] using Graphics wit more than one window Philippe Lelédy
@ 2005-01-16 11:41 ` Jon Harrop
  2005-01-16 11:52 ` CamlIDL Jon Harrop
  2005-01-17  2:10 ` [Caml-list] using Graphics wit more than one window Chris King
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Harrop @ 2005-01-16 11:41 UTC (permalink / raw)
  To: caml-list

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.

Cheers,
Jon.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* CamlIDL
  2005-01-16 10:10 [Caml-list] using Graphics wit more than one window Philippe Lelédy
  2005-01-16 11:41 ` Jon Harrop
@ 2005-01-16 11:52 ` Jon Harrop
  2005-01-17  2:10 ` [Caml-list] using Graphics wit more than one window Chris King
  2 siblings, 0 replies; 4+ messages in thread
From: Jon Harrop @ 2005-01-16 11:52 UTC (permalink / raw)
  To: caml-list


Can CamlIDL be used to generate type-unsafe bindings?

Cheers,
Jon.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] using Graphics wit more than one window
  2005-01-16 10:10 [Caml-list] using Graphics wit more than one window Philippe Lelédy
  2005-01-16 11:41 ` Jon Harrop
  2005-01-16 11:52 ` CamlIDL Jon Harrop
@ 2005-01-17  2:10 ` Chris King
  2 siblings, 0 replies; 4+ messages in thread
From: Chris King @ 2005-01-17  2:10 UTC (permalink / raw)
  To: Philippe Lelédy; +Cc: Caml-list

On Sun, 16 Jan 2005 11:10:59 +0100, Philippe Lelédy <phl@leledy.org> wrote:
> As a teacher I'd like to be able to open an Ocaml Graphics window on each of my students display.

Would running a VNC server on your computer and a VNC client on each
of the students' computers fit the bill?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-01-17  2:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-16 10:10 [Caml-list] using Graphics wit more than one window Philippe Lelédy
2005-01-16 11:41 ` Jon Harrop
2005-01-16 11:52 ` CamlIDL Jon Harrop
2005-01-17  2:10 ` [Caml-list] using Graphics wit more than one window Chris King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).