wx.Notebook Class Reference

Inheritance diagram for wx.Notebook:

wx.Control wx.Window wx.EvtHandler wx.Object

List of all members.

Public Member Functions

bool AddPage (Window page, wxString text, bool select, int imageId)
bool AddPage (Window page, string text, bool select, int imageId)
bool AddPage (Window page, string text, bool select)
bool AddPage (Window page, string text)
void AdvanceSelection (bool forward)
void AssignImageList (ImageList imageList)
bool DeleteAllPages ()
bool DeletePage (int page)
Window GetPage (int page)
int GetPageImage (int page)
string GetPageText (int page)
bool InsertPage (int page, Window window, wxString text, bool select, int image)
bool InsertPage (int page, Window window, string text, bool select, int image)
 Notebook (Window parent, Point pos, Size size, wx.WindowStyles style, string name)
 Notebook (Window parent, Point pos, Size size, wx.WindowStyles style)
 Notebook (Window parent, Point pos, Size size)
 Notebook (Window parent, int id, Point pos, Size size, wx.WindowStyles style, wxString name)
 Notebook (Window parent, int id, Point pos, Size size, wx.WindowStyles style, string name)
 Notebook (Window parent, int id, Point pos, Size size, wx.WindowStyles style)
 Notebook (Window parent, int id, Point pos, Size size)
 Notebook (Window parent, int id)
 Notebook (Window parent)
 Notebook ()
 Notebook (IntPtr wxObject)
bool RemovePage (int page)
bool SetPageImage (int page, int image)
bool SetPageText (int page, wxString text)
bool SetPageText (int page, string text)

Properties

ImageList Images [get, set]
Size Padding [set]
int PageCount [get]
Size PageSize [set]
int RowCount [get]
int Selection [get, set]
Size TabSize [set]

Events

event EventListener PageChange [add, remove]
event EventListener PageChanging [add, remove]


Detailed Description

This class represents a notebook control, which manages multiple windows with associated tabs.

To use the class, create a wx.Notebook object and call AddPage or InsertPage, passing a window to be used as the page. Do not explicitly delete the window for a page that is currently managed by wx.Notebook.

notebooksmall.png

Constructor & Destructor Documentation

wx.Notebook.Notebook ( IntPtr  wxObject  ) 

wx.Notebook.Notebook (  ) 

wx.Notebook.Notebook ( Window  parent  ) 

wx.Notebook.Notebook ( Window  parent,
int  id 
)

wx.Notebook.Notebook ( Window  parent,
int  id,
Point  pos,
Size  size 
)

wx.Notebook.Notebook ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.Notebook.Notebook ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)

wx.Notebook.Notebook ( Window  parent,
int  id,
Point  pos,
Size  size,
wx.WindowStyles  style,
wxString  name 
)

wx.Notebook.Notebook ( Window  parent,
Point  pos,
Size  size 
)

wx.Notebook.Notebook ( Window  parent,
Point  pos,
Size  size,
wx.WindowStyles  style 
)

wx.Notebook.Notebook ( Window  parent,
Point  pos,
Size  size,
wx.WindowStyles  style,
string  name 
)


Member Function Documentation

bool wx.Notebook.AddPage ( Window  page,
wxString  text,
bool  select,
int  imageId 
)

bool wx.Notebook.AddPage ( Window  page,
string  text,
bool  select,
int  imageId 
)

bool wx.Notebook.AddPage ( Window  page,
string  text,
bool  select 
)

bool wx.Notebook.AddPage ( Window  page,
string  text 
)

void wx.Notebook.AdvanceSelection ( bool  forward  ) 

void wx.Notebook.AssignImageList ( ImageList  imageList  ) 

bool wx.Notebook.DeleteAllPages (  ) 

bool wx.Notebook.DeletePage ( int  page  ) 

Window wx.Notebook.GetPage ( int  page  ) 

The window representing the page.

Parameters:
page Zero-based index

int wx.Notebook.GetPageImage ( int  page  ) 

string wx.Notebook.GetPageText ( int  page  ) 

bool wx.Notebook.InsertPage ( int  page,
Window  window,
wxString  text,
bool  select,
int  image 
)

bool wx.Notebook.InsertPage ( int  page,
Window  window,
string  text,
bool  select,
int  image 
)

bool wx.Notebook.RemovePage ( int  page  ) 

bool wx.Notebook.SetPageImage ( int  page,
int  image 
)

bool wx.Notebook.SetPageText ( int  page,
wxString  text 
)

bool wx.Notebook.SetPageText ( int  page,
string  text 
)


Property Documentation

ImageList wx.Notebook.Images [get, set]

Size wx.Notebook.Padding [set]

int wx.Notebook.PageCount [get]

Size wx.Notebook.PageSize [set]

int wx.Notebook.RowCount [get]

int wx.Notebook.Selection [get, set]

The zero-based index of the currently selected page. Use this property to read or set the currently selected note.

Size wx.Notebook.TabSize [set]


Event Documentation

event EventListener wx.Notebook.PageChange [add, remove]

event EventListener wx.Notebook.PageChanging [add, remove]


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