Re: Camltk

From: Pascal Rigaux (pixel_@geocities.com)
Date: Wed Feb 03 1999 - 16:56:58 MET


To: "Thibault Weintraub" <weintraub@gla.ecoledoc.lip6.fr>
Subject: Re: Camltk
From: Pascal Rigaux <pixel_@geocities.com>
Date: 03 Feb 1999 16:56:58 +0100
In-Reply-To: "Thibault Weintraub"'s message of "Tue, 2 Feb 1999 12:00:58 +0100"

>
> Does anyone know how to open another window from a camltk
> application such as a dialog box to open or save a file ???
>
>

Here it is for open file:

Fileselect.f "Open plot file" (function [f] -> o#open_file f | _ -> ()) "*.plot"
"" false true

See the source of fileselect in the camltk source (jpf/fileselect.ml)

For a dialog box, look at frx/frx_dialog.ml in the camltk source.

cu Pixel.



This archive was generated by hypermail 2b29 : Sun Jan 02 2000 - 11:58:19 MET