A class which holds a wx.TextCtrl, one of the two building blocks of FloatSpin.
__init__ | Default class constructor. |
OnChar | Handles the wx.EVT_CHAR event for FloatTextCtrl. |
OnDestroy | Handles the wx.EVT_WINDOW_DESTROY event for FloatTextCtrl. |
OnKillFocus | Handles the wx.EVT_KILL_FOCUS event for FloatTextCtrl. |
A class which holds a wx.TextCtrl, one of the two building blocks of FloatSpin.
Default class constructor. Used internally. Do not call directly this class in your code!
Parameters: |
|
---|
Handles the wx.EVT_CHAR event for FloatTextCtrl.
Parameters: | event – a wx.KeyEvent event to be processed. |
---|
Handles the wx.EVT_WINDOW_DESTROY event for FloatTextCtrl.
Parameters: | event – a wx.WindowDestroyEvent event to be processed. |
---|
Note
This method tries to correctly handle the control destruction under MSW.
Handles the wx.EVT_KILL_FOCUS event for FloatTextCtrl.
Parameters: | event – a wx.FocusEvent event to be processed. |
---|
Note
This method synchronizes the wx.SpinButton and the wx.TextCtrl when focus is lost.