python - Is there a way to add multiple filemasks in wx.lib.filebrowsebutton.FileBrowseButton? -
i'm trying make wx.lib.filebrowsebutton.filebrowsebutton
button match both txt , csv files, doesn't seem support glob pattern described, *.{txt,csv}
ends matching nothing on windows , literally tries files extension of {txt,csv}
.
so how make work both txt , csv files?
the documentation not clear. should using semi-colon inside parenthesis, so: "txt , csv files (*.txt; *.csv)|*.txt; *.csv"
you can add second line so: "txt , csv files (*.txt; *.csv)|*.txt; *.csv|png files (*.png)|*.png"
Comments
Post a Comment