mirror of https://github.com/chriskiehl/Gooey.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
892 B
40 lines
892 B
from gooey.gui.components.widgets import core
|
|
from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
|
|
|
|
|
|
__ALL__ = [
|
|
'FileChooser',
|
|
'FileSaver',
|
|
'DirChooser',
|
|
'MultiDirChooser',
|
|
'DateChooser'
|
|
]
|
|
|
|
class FileChooser(BaseChooser):
|
|
# todo: allow wildcard from argparse
|
|
widget_class = core.FileChooser
|
|
|
|
|
|
class MultiFileChooser(BaseChooser):
|
|
# todo: allow wildcard from argparse
|
|
widget_class = core.MultiFileChooser
|
|
|
|
|
|
class FileSaver(BaseChooser):
|
|
# todo: allow wildcard
|
|
widget_class = core.FileSaver
|
|
|
|
|
|
class DirChooser(BaseChooser):
|
|
# todo: allow wildcard
|
|
widget_class = core.DirChooser
|
|
|
|
class MultiDirChooser(BaseChooser):
|
|
# todo: allow wildcard
|
|
widget_class = core.MultiDirChooser
|
|
|
|
|
|
class DateChooser(BaseChooser):
|
|
# todo: allow wildcard
|
|
widget_class = core.DateChooser
|
|
|