:browse-file and directories?
After using Lispworks professionally[1] for about a year and a half, I've finally started looking at non-console applications. My first GUI application has the following interface definition: (capi:define-interface export () () (:panes (server capi:text-input-pane :title "Server:" :visible-min-height '(:character 1) :visible-max-height '(:character 1) :reader server-pane) (input-file capi:text-input-pane :title "Input file:" :buttons (list :cancel nil :ok nil :browse-file (list :filter "*.txt")) :reader input-file-pane) (output-directory capi:text-input-pane :title "Output directory:" :buttons (list :cancel nil :ok nil :browse-file (list :ok-check 'lw:file-directory-p)) :reader output-directory-pane) (do-it capi:push-button :text "Do it!") (collector capi:collector-pane :title "Messages:")) (:layouts (main-layout capi:column-layout '(input-layout output-layout)) (input-layout capi:column-layout '(server input-file output-directory do-it)) (output-layout capi:row-layout '(collector)))) The part that I'm struggling with at the moment is the "output-directory" pane. My initial guess (or hope) was that there would be a :browse-directory option with similar behaviour to :browse-file, but that does not seem to be the case. The "Search Files" tool in the IDE has something similar to what I want, but it looks and behaves differently from what :browse-file does. Any hints? Footnotes: [1] Or at least, "at work".