Browse thread
[Caml-list] Why I cannot open a graph with a specific title
-
Andy Yang
- Matt Gushee
- Christophe TROESTLER
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christophe TROESTLER <Christophe.Troestler@u...> |
| Subject: | Re: [Caml-list] Why I cannot open a graph with a specific title |
On Mon, 28 Jun 2004, Andy Yang <yyu08@yahoo.com> wrote:
>
> let _ = open_graph "hello";;
> Ocaml will report "Fatal error: exception
> Graphics.Graphic_failure("Cannot open display hello").
Please read the manual:
open_graph "foo:0" connects to the display foo:0 and creates a
window with the default geometry
open_graph "foo:0 300x100+50-0" connects to the display foo:0
and creates a window 300 pixels wide by 100 pixels tall, at
location (50,0)
open_graph " 300x100+50-0" connects to the default display and
creates a window 300 pixels wide by 100 pixels tall, at
location (50,0)
open_graph "" connects to the default display and creates a
window with the default geometry.
(this is specific to Unix).
Cheers,
ChriS
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners