List of all members.
Public Member Functions
|NotebookEvent (int commandType, int id, int nSel, int nOldSel)|
|NotebookEvent (IntPtr wxObject)|
Returns the currently selected page, or -1 if none was selected. NB: under Windows,
Selection will return the same value as
OldSelection when called from
EVT_NOTEBOOK_PAGE_CHANGING handler and not the page which is going to be selected. Also note that the values of selection and old selection returned for an event generated in response to a call to wx.Notebook.SetSelection shouldn't be trusted as they are currently inconsistent under different platforms (but in this case you presumably don't need them anyhow as you already have the corresponding information).