Represents a dynamic panel that can replace another panel in a wxWidgets application.
More...
#include <Panel.h>
|
| | Panel (Panel *origin) |
| | Constructs a new Panel and hides the previous one if provided.
|
| |
| | ~Panel () |
| | Destructor that deletes the current panel and restores the previous one.
|
| |
| void | SetTitle (std::string title) |
| | Sets the title of the main window.
|
| |
|
| wxPanel * | panel |
| | Pointer to the wxPanel instance managed by this class.
|
| |
|
| Panel * | _origin |
| | Pointer to the previous panel.
|
| |
| std::string | _title |
| | Stores the title of the panel.
|
| |
Represents a dynamic panel that can replace another panel in a wxWidgets application.
◆ Panel()
| Panel::Panel |
( |
Panel * | origin | ) |
|
Constructs a new Panel and hides the previous one if provided.
- Parameters
-
| origin | Pointer to the previous panel (can be nullptr for the main panel). |
◆ ~Panel()
Destructor that deletes the current panel and restores the previous one.
◆ SetTitle()
| void Panel::SetTitle |
( |
std::string | title | ) |
|
Sets the title of the main window.
- Parameters
-
| title | The new title to set. |
◆ _origin
Pointer to the previous panel.
◆ _title
| std::string Panel::_title |
|
private |
Stores the title of the panel.
◆ panel
Pointer to the wxPanel instance managed by this class.
The documentation for this class was generated from the following file: