Re: [racket-users] Using get-file in racket/gui ...

2021-06-10 Thread Sorawee Porncharoenwase
The Racket Reference has a section on the notation used in documentations: https://docs.racket-lang.org/reference/notation.html But yes, what you said is correct: you are forced to specify every prior optional positional argument. This is why I think optional positional arguments are bad in

Re: [racket-users] Using get-file in racket/gui ...

2021-06-10 Thread Don Green
Where is the documentation that describes how to interpret the racket syntax? For example: (get-file (message parent directory ...)) ;where the arg list of options are optional but if included are positional meaning that to specify an argument such as 'directory' means that the previous 2 args

Re: [racket-users] Using get-file in racket/gui ...

2021-06-10 Thread Crystal Jacobs
Of course, I meant the third, not fourth. Oops! On Thu, 10 Jun 2021, Crystal Jacobs wrote: 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

Re: [racket-users] Using get-file in racket/gui ...

2021-06-10 Thread Crystal Jacobs
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

[racket-users] Using get-file in racket/gui ...

2021-06-10 Thread Don Green
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: