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

from .base_dialog import BaseDialog
from gooey.gui.three_to_four import Classes
from gooey.gui.lang.i18n import _
class TimeDlg(BaseDialog):
def __init__(self, parent):
super(TimeDlg, self).__init__(parent,
pickerClass=Classes.TimePickerCtrl,
pickerGetter=lambda datepicker: datepicker.GetValue().FormatISOTime(),
localizedPickerLabel=_('select_time'))