Version française
Home     About     Download     Resources     Contact us    
Browse thread
Camltk
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Pascal Rigaux <pixel_@g...>
Subject: Re: Camltk
> 
>         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.