[plt-scheme] graphical widgets

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Aug 17 12:22:04 EDT 2004

At Mon, 16 Aug 2004 12:38:43 +0200 (CEST), Ivanyi Peter wrote:
> There is also a bug in MrEd. In version 208 in mred.ss in the function
> "mk-file-selector" at line 6461 inside the "change-dir" callback function
> definition. The function calls the "get-string-selection" method, but
> when the user clicked on an empty area, then this method returns #f
> which is not valid for build-path.

Thanks - patched for v299.

> The reason I know this because, I needed a file selector so I took this.
> However I did not manage to start-up the default windows file selector.
> Is it possible to do that in a normal application? I mean in the same way
> as MrEd does this, on Windows use the windows file selector on Unix
> use the defined one.

Is there some reason that you can't just call `get-file' when you want
to call the Windows file selector? (I'm also curious why you'd need a
new file-selector dialog at all.)


Posted on the users mailing list.