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.

35 lines
760 B

  1. from gooey.gui.components.widgets import core
  2. from gooey.gui.components.widgets.bases import TextContainer, BaseChooser
  3. __ALL__ = [
  4. 'FileChooser',
  5. 'FileSaver',
  6. 'DirChooser',
  7. 'DateChooser'
  8. ]
  9. class FileChooser(BaseChooser):
  10. # todo: allow wildcard from argparse
  11. widget_class = core.FileChooser
  12. class MultiFileChooser(BaseChooser):
  13. # todo: allow wildcard from argparse
  14. widget_class = core.MultiFileChooser
  15. class FileSaver(BaseChooser):
  16. # todo: allow wildcard
  17. widget_class = core.FileSaver
  18. class DirChooser(BaseChooser):
  19. # todo: allow wildcard
  20. widget_class = core.DirChooser
  21. class DateChooser(BaseChooser):
  22. # todo: allow wildcard
  23. widget_class = core.DateChooser