From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA18088 for caml-redistribution; Wed, 3 Feb 1999 18:53:48 +0100 (MET) Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id QAA03218 for ; Wed, 3 Feb 1999 16:56:20 +0100 (MET) Received: from dre2.polytechnique.fr (dre2.polytechnique.fr [129.104.42.26]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id QAA00665 for ; Wed, 3 Feb 1999 16:56:18 +0100 (MET) Received: by dre2.polytechnique.fr via sendmail from stdin id (Debian Smail3.2.0.102) for caml-list@inria.fr; Wed, 3 Feb 1999 16:56:58 +0100 (CET) To: "Thibault Weintraub" Cc: Subject: Re: Camltk References: <002701be4e9b$50f51910$0845e384@tolkien.ecoledoc.lip6.fr> From: Pascal Rigaux Date: 03 Feb 1999 16:56:58 +0100 In-Reply-To: "Thibault Weintraub"'s message of "Tue, 2 Feb 1999 12:00:58 +0100" Message-ID: <4w4sp3xyyd.fsf@dre2.polytechnique.fr> X-Mailer: Gnus v5.5/Emacs 20.3 Sender: weis > > 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.