wx.NotebookEvent Class Reference

Inheritance diagram for wx.NotebookEvent:

wx.NotifyEvent wx.Event wx.Object

List of all members.

Public Member Functions

 NotebookEvent (int commandType, int id, int nSel, int nOldSel)
 NotebookEvent (IntPtr wxObject)


int OldSelection [get, set]
int Selection [get, set]

Detailed Description

This event will be raised on selecting tabs in notebooks.

Constructor & Destructor Documentation

wx.NotebookEvent.NotebookEvent ( IntPtr  wxObject  ) 

wx.NotebookEvent.NotebookEvent ( int  commandType,
int  id,
int  nSel,
int  nOldSel 

Property Documentation

int wx.NotebookEvent.OldSelection [get, set]

int wx.NotebookEvent.Selection [get, set]

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).

Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads