mirror of https://github.com/chriskiehl/Gooey.git
12 lines
369 B
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'))
|