On Sun, 21 Dec 2003, Hidetoshi NAGAI wrote: > Date: Sun, 21 Dec 2003 00:35:37 +0900 > From: Hidetoshi NAGAI <nagai / ai.kyutech.ac.jp> > Newsgroups: comp.lang.ruby > Subject: Re: tk file dialog and directories > > Hi, > > From: "Ara.T.Howard" <ahoward / ngdc.noaa.gov> > Subject: tk file dialog and directories > Date: Sat, 20 Dec 2003 10:11:53 +0900 > Message-ID: <Pine.LNX.4.44.0312191644050.25332-100000 / fattire.ngdc.noaa.gov> > > anyone know how to make file dialogs allow the seletion of _directories_? > > example code out there? > > If you use Tk8.3+, please use 'Tk.chooseDirectory' method. thanks! -a -- ATTN: please update your address books with address below! =============================================================================== | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328 | STP :: http://www.ngdc.noaa.gov/stp/ | NGDC :: http://www.ngdc.noaa.gov/ | NESDIS :: http://www.nesdis.noaa.gov/ | NOAA :: http://www.noaa.gov/ | US DOC :: http://www.commerce.gov/ | | The difference between art and science is that science is what we | understand well enough to explain to a computer. | Art is everything else. | -- Donald Knuth, "Discover" | | /bin/sh -c 'for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done' ===============================================================================