]>
Commit | Line | Data |
---|---|---|
cf694132 RD |
1 | |
2 | from wxPython.wx import * | |
3 | ||
4 | #--------------------------------------------------------------------------- | |
5 | ||
6 | def runTest(frame, nb, log): | |
f6bcfd97 | 7 | dlg = wxFileDialog(frame, "Choose a file", ".", "", "*.*", wxOPEN|wxMULTIPLE) |
cf694132 | 8 | if dlg.ShowModal() == wxID_OK: |
f6bcfd97 BP |
9 | for path in dlg.GetPaths(): |
10 | log.WriteText('You selected: %s\n' % path) | |
cf694132 RD |
11 | dlg.Destroy() |
12 | ||
13 | #--------------------------------------------------------------------------- | |
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | ||
21 | ||
22 | ||
23 | ||
24 | ||
25 | ||
26 | ||
27 | ||
28 | overview = """\ | |
29 | This class represents the file chooser dialog. | |
30 | ||
cf694132 | 31 | """ |