Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Component::Notebook::Page Class Reference

Public Member Functions

Constructors & Destructor
 Page (Notebook &notebook)
 
 Page (Notebook &notebook, wxWindow *ctrnl, const wxString &caption)
 
 Page (Notebook &notebook, wxWindow *ctrnl, const wxString &name, const wxString &caption)
 
 ~Page ()
 Destructor.
 
Notebook
Notebooknotebook ()
 Get the attached notebook.
 
const Notebooknotebook () const
 
Caption
const wxString & caption () const
 Get the caption of the page.
 
void caption (const wxString &s)
 Set the caption of the page.
 
Name
const wxString & name () const
 Get the name of the page.
 
void name (const wxString &s)
 Set the name of the page.
 
Selection
bool selected () const
 Get if the page is currently selected.
 
Pageselect (bool force=false)
 Select the page.
 
void selectSubPage (Page *subPage)
 Select a subpage of this page.
 
Visible
bool visible () const
 
void visible (const bool v)
 
Controls
bool displayExtraControls () const
 
void displayExtraControls (bool v)
 
wxWindow * control () const
 Get the control of the page.
 
void refresh ()
 Refresh.
 

Friends

class Tabs
 
class Notebook
 
class MapNotebook
 

subpage management

void removeSubPage (Page *p)
 Remove a subpage.
 
PageaddSubPage (Page *p)
 Add a page as subpage.
 

The documentation for this class was generated from the following files: