[python-win32] EasyDialogs - typeList
axiomx11 at gmail.com
Wed Dec 6 15:37:49 CET 2006
I am trying to write a dialog the opens a video file.
file = EasyDialogs.AskFileForOpen(defaultLocation="c:\\",
and outputs a dialog that shows
in the selection dropdown.
What I want to do is have it show
Video Files (*.avi;*.mpg;*.mpeg)
This idea is hinted at on this page:
But the example doesn't seem to work (or perhaps I don't understand how to
When I tried it like this:
file = EasyDialogs.AskFileForOpen(defaultLocation="c:\\", typeList=(('C
Files (*.c, *.h)', '*.c;*.h')))
The dropdown on the open dialog says
*.C Files (*.c, *.h)
It just put asterisks in front of whatever values you give it. (And no, the
first option does not work, and while the second one does, it breaks if you
delete the first one).
Any hints on this would be welcomed.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-win32