Lisp HUG Maillist Archive

Adding "New folder" button to capi:prompt-for-directory

I have looked at the documentation and searched for an example but  
without success.
I would like to create a dialog with the standard "New folder" button  
found in Mac OS X at the bottom left corner of a dialog created by  
capi:prompt-for-file or capi:prompt-for-directory. My understanding  
is that the two keys pane-args and popup-args might be used for that  
purpose.
Would someone be kind enough to give an example of how to do this?
Thanks
Bruno


Re: Adding "New folder" button to capi:prompt-for-directory


On Jun 15, 2006, at 8:30 PM, Emond, Bruno wrote:

> I have looked at the documentation and searched for an example but  
> without success.
> I would like to create a dialog with the standard "New folder"  
> button found in Mac OS X at the bottom left corner of a dialog  
> created by capi:prompt-for-file or capi:prompt-for-directory. My  
> understanding is that the two keys pane-args and popup-args might  
> be used for that purpose.
> Would someone be kind enough to give an example of how to do this?

My file dialog has "New Folder" when I call it like this:

(prompt-for-file "test" :operation :save)




John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


Updated at: 2020-12-10 08:48 UTC