Public Member Functions |
|
__init__ () | |
ApplicationFocusChanged () | |
Because attatching wx.EVT_SET_FOCUS and
wx.EVT_KILL_FOCUS to dialogs does not detect dialog window focus,
we must monitor dialog focus by ourselves. |
|
OnFocus () | |
Called when the dialog gains focus. |
|
OnKillFocus () | |
Called when the dialog loses focus. |
Dialog.Dialog.__init__ | ( | ) |
Dialog.Dialog.ApplicationFocusChanged | ( | ) |
Because attatching wx.EVT_SET_FOCUS and wx.EVT_KILL_FOCUS to dialogs does not detect dialog window focus, we must monitor dialog focus by ourselves.
A global listener to window focus events will call this function every time focus has changed. The dialog stores it's focus state, and calls OnFocus and OnKillFocus when the dialog focus has changed.
Dialog.Dialog.OnFocus | ( | ) |
Called when the dialog gains focus.
To be overriden by the derived class
Dialog.Dialog.OnKillFocus | ( | ) |
Called when the dialog loses focus.
To be overriden by the derived class