Looking at the docs:

https://docs.racket-lang.org/gui/Windowing_Functions.html?q=get-file#%28def._%28%28lib._mred%2Fmain..rkt%29._get-file%29%29

It seems like the second argument is the message shown in the title of the pop-up window. You can include a path as the fourth argument:

(get-file #f f "/home/don/projects")

-Crystal

On Thu, 10 Jun 2021, Don Green wrote:

I want the file manipulation popup in racket/gui to display a specified dir, 
not the current directory.
Is that possible?
(get-file #f f) ;displays the popup showing the current directory in frame f.

I expected the following to display the popup showing the specified directory 
but it does not:
(get-file (string->path "/home/don/projects") f)

Any suggestions?
Don

--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to
racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/racket-users/c1fdeeb1-e2c1-4ff1-8353-2d6e61399a61n%40googlegroups.com.



--
You received this message because you are subscribed to the Google Groups "Racket 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/alpine.NEB.2.23.451.2106100649370.2097%40panix3.panix.com.

Reply via email to