|
|
@ -1,4 +1,5 @@ |
|
|
|
import wx |
|
|
|
import os |
|
|
|
|
|
|
|
from gooey.gui.components.widgets.core.text_input import TextInput |
|
|
|
from gooey.gui.components.widgets.dialogs.calender_dialog import CalendarDlg |
|
|
@ -68,7 +69,9 @@ class FileChooser(Chooser): |
|
|
|
class MultiFileChooser(Chooser): |
|
|
|
""" Retrieve an multiple files from the system """ |
|
|
|
def getDialog(self): |
|
|
|
return wx.FileDialog(self, style=wx.FD_OPEN | wx.FD_FILE_MUST_EXIST) |
|
|
|
return wx.FileDialog(self, "Open Files" ,style=wx.FD_OPEN | wx.FD_FILE_MUST_EXIST | wx.FD_MULTIPLE) |
|
|
|
def getResult(self, dialog): |
|
|
|
return os.pathsep.join(dialog.GetPaths()) |
|
|
|
|
|
|
|
|
|
|
|
class FileSaver(Chooser): |
|
|
|