1999-04-29 23:29:54 -04:00
|
|
|
|
|
|
|
from wxPython.wx import *
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
def runTest(frame, nb, log):
|
2000-07-15 15:51:35 -04:00
|
|
|
dlg = wxFileDialog(frame, "Choose a file", ".", "", "*.*", wxOPEN|wxMULTIPLE)
|
1999-04-29 23:29:54 -04:00
|
|
|
if dlg.ShowModal() == wxID_OK:
|
2000-07-15 15:51:35 -04:00
|
|
|
for path in dlg.GetPaths():
|
|
|
|
log.WriteText('You selected: %s\n' % path)
|
1999-04-29 23:29:54 -04:00
|
|
|
dlg.Destroy()
|
|
|
|
|
|
|
|
#---------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
overview = """\
|
|
|
|
This class represents the file chooser dialog.
|
|
|
|
|
|
|
|
"""
|