Bases: enaml.widgets.bounded_time.BoundedTime
A time widget that displays a Python datetime.time object using an appropriate toolkit specific control.
A python time format string to format the time. If None is supplied (or is invalid) the system locale setting is used. This may not be supported by all backends.
How strongly to hugs the content width. A TimeSelector ignores the width hug by default, so it expands freely in width.
Return a dictionary which contains all the state necessary to initialize a client widget.
A method called after initialization which allows the widget to bind any event handlers necessary.
alias of __NoInterface__
Bases: enaml.qt.qt_bounded_time.QtBoundedTime
A Qt implementation of an Enaml TimeSelector.
Handle the ‘set_time_format’ action from the Enaml widget.
Return the current time in the control.
Returns: | result (QTime) – The current control time as a QTime object. |
---|
Set the widget’s current time.
Parameters: | time (QTime) – The QTime object to use for setting the time. |
---|
Set the widget’s maximum time.
Parameters: | time (QTime) – The QTime object to use for setting the maximum time. |
---|