KiCad PCB EDA Suite
Loading...
Searching...
No Matches
WX_TREEBOOK Class Reference

#include <wx_treebook.h>

Inheritance diagram for WX_TREEBOOK:

Public Member Functions

 WX_TREEBOOK (wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxBK_DEFAULT, const wxString &name=wxEmptyString)
 
bool AddLazyPage (std::function< wxWindow *(wxWindow *aParent)> aLazyCtor, const wxString &text, bool bSelect=false, int imageId=NO_IMAGE)
 
bool AddLazySubPage (std::function< wxWindow *(wxWindow *aParent)> aLazyCtor, const wxString &text, bool bSelect=false, int imageId=NO_IMAGE)
 
wxWindow * ResolvePage (size_t aPage)
 

Detailed Description

Definition at line 30 of file wx_treebook.h.

Constructor & Destructor Documentation

◆ WX_TREEBOOK()

WX_TREEBOOK::WX_TREEBOOK ( wxWindow *  parent,
wxWindowID  id,
const wxPoint &  pos = wxDefaultPosition,
const wxSize &  size = wxDefaultSize,
long  style = wxBK_DEFAULT,
const wxString &  name = wxEmptyString 
)

Definition at line 82 of file wx_treebook.cpp.

Member Function Documentation

◆ AddLazyPage()

bool WX_TREEBOOK::AddLazyPage ( std::function< wxWindow *(wxWindow *aParent)>  aLazyCtor,
const wxString &  text,
bool  bSelect = false,
int  imageId = NO_IMAGE 
)

Definition at line 89 of file wx_treebook.cpp.

References text.

Referenced by EDA_BASE_FRAME::ShowPreferences().

◆ AddLazySubPage()

bool WX_TREEBOOK::AddLazySubPage ( std::function< wxWindow *(wxWindow *aParent)>  aLazyCtor,
const wxString &  text,
bool  bSelect = false,
int  imageId = NO_IMAGE 
)

◆ ResolvePage()

wxWindow * WX_TREEBOOK::ResolvePage ( size_t  aPage)

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