#include <albaGUIScrolledPanel.h>
albaGUIScrolledPanel is a Panel on which is possible to add child-widget.
A vertical scrollbar will automatically appear if child-widgets require more space then the avaiable.
Definition at line 30 of file albaGUIScrolledPanel.h.
◆ albaGUIScrolledPanel()
albaGUIScrolledPanel::albaGUIScrolledPanel |
( |
wxWindow * |
parent, |
|
|
wxWindowID |
id = -1 |
|
) |
| |
◆ ~albaGUIScrolledPanel()
virtual albaGUIScrolledPanel::~albaGUIScrolledPanel |
( |
| ) |
|
|
virtual |
◆ Add() [1/2]
void albaGUIScrolledPanel::Add |
( |
wxWindow * |
window, |
|
|
int |
option = 0 , |
|
|
int |
flag = wxEXPAND , |
|
|
int |
border = 0 |
|
) |
| |
Add a window into the scrolled panel.
◆ Add() [2/2]
void albaGUIScrolledPanel::Add |
( |
wxSizer * |
sizer, |
|
|
int |
option = 0 , |
|
|
int |
flag = wxEXPAND , |
|
|
int |
border = 0 |
|
) |
| |
Add a sizer into the scrolled panel.
◆ Remove() [1/2]
bool albaGUIScrolledPanel::Remove |
( |
wxWindow * |
window | ) |
|
Remove a window from the scrolled panel.
◆ Remove() [2/2]
bool albaGUIScrolledPanel::Remove |
( |
wxSizer * |
sizer | ) |
|
Remove a sizer from the scrolled panel.
◆ FitInside()
void albaGUIScrolledPanel::FitInside |
( |
| ) |
|
Adjust the ScrollBar Settings.
Must be called explicitly if the size of the contents change at runtime.
◆ Layout()
virtual bool albaGUIScrolledPanel::Layout |
( |
| ) |
|
|
virtual |
Redraw the scrolled window.
◆ m_Sizer
wxBoxSizer* albaGUIScrolledPanel::m_Sizer |
|
protected |
The documentation for this class was generated from the following file: