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.

12 lines
369 B

  1. from .base_dialog import BaseDialog
  2. from gooey.gui.three_to_four import Classes
  3. from gooey.gui.lang.i18n import _
  4. class TimeDlg(BaseDialog):
  5. def __init__(self, parent):
  6. super(TimeDlg, self).__init__(parent,
  7. pickerClass=Classes.TimePickerCtrl,
  8. pickerGetter=lambda datepicker: datepicker.GetValue().FormatISOTime(),
  9. localizedPickerLabel=_('select_time'))