This events will be sent when a EVT_FLATNOTEBOOK_PAGE_CHANGED, EVT_FLATNOTEBOOK_PAGE_CHANGING, EVT_FLATNOTEBOOK_PAGE_CLOSING, EVT_FLATNOTEBOOK_PAGE_CLOSED and EVT_FLATNOTEBOOK_PAGE_CONTEXT_MENU is mapped in the parent.
__init__ | Default class constructor. |
Allow | This is the opposite of Veto: it explicitly allows the event to be processed. |
GetNotifyEvent | Returns the actual wx.NotifyEvent. |
GetOldSelection | Returns the page that was selected before the change, -1 if none was selected. |
GetSelection | Returns the currently selected page, or -1 if none was selected. |
IsAllowed | Returns True if the change is allowed (Veto hasn’t been called) or |
SetOldSelection | Sets the id of the page selected before the change. |
SetSelection | Sets the event selection. |
Veto | Prevents the change announced by this event from happening. |
This events will be sent when a EVT_FLATNOTEBOOK_PAGE_CHANGED, EVT_FLATNOTEBOOK_PAGE_CHANGING, EVT_FLATNOTEBOOK_PAGE_CLOSING, EVT_FLATNOTEBOOK_PAGE_CLOSED and EVT_FLATNOTEBOOK_PAGE_CONTEXT_MENU is mapped in the parent.
Default class constructor.
Parameters: |
|
---|
This is the opposite of Veto: it explicitly allows the event to be processed. For most events it is not necessary to call this method as the events are allowed anyhow but some are forbidden by default (this will be mentioned in the corresponding event description).
Returns the actual wx.NotifyEvent.
Returns the page that was selected before the change, -1 if none was selected.
Returns True if the change is allowed (Veto hasn’t been called) or False otherwise (if it was).
Sets the id of the page selected before the change.
Parameters: | nOldSel – an integer specifying the old selection. |
---|
Sets the event selection.
Parameters: | nSel – an integer specifying the new selection. |
---|