#include <wx/aui/auibook.h>
Simple struct combining wxAuiTabCtrl with the position inside it.
This information fully determines the position of the page in wxAuiNotebook, see wxAuiNotebook::GetPagePosition().
Public Member Functions | |
operator bool () const | |
Check if the position is valid. More... | |
Public Attributes | |
wxAuiTabCtrl * | tabCtrl = nullptr |
Tab control containing the page or nullptr if the position is invalid. More... | |
int | tabIdx = wxNOT_FOUND |
Index of the page in this tab control or wxNOT_FOUND if invalid. More... | |
|
explicit |
Check if the position is valid.
This overloaded operator allows to use objects of this class in conditional statements, e.g.
wxAuiTabCtrl* wxAuiNotebookPosition::tabCtrl = nullptr |
Tab control containing the page or nullptr if the position is invalid.
int wxAuiNotebookPosition::tabIdx = wxNOT_FOUND |
Index of the page in this tab control or wxNOT_FOUND if invalid.