#include <Widgets.h>
Inheritance diagram for CB2::Spacer:
Public Member Functions | |
Spacer (Container &parent, const String &css_class="", const String &css_id="") | |
Constructor. | |
Spacer (Application &parent, const String &css_class="", const String &css_id="") | |
Constructor. | |
Spacer (Container &parent, const Size &height) | |
Constructor. | |
Spacer (Application &parent, const Size &height) | |
Constructor. | |
virtual | ~Spacer () |
Destructor. | |
Public Attributes | |
int | tag |
Tag for user-specific data. | |
Protected Member Functions | |
void | Data (const String &data) |
Render widget. | |
Private Member Functions | |
void | init (const String &css_class, const String &css_id) |
Initialize parameters. | |
void | init (const Size &height) |
Initialize parameters. | |
Private Attributes | |
String | data |
Spacer data. |
Empty widget creating horizontal space.
|
Constructor. Create a spacer defined by CSS class and/or id.
|
|
Constructor. Create a spacer defined by CSS class and/or id.
|
|
Constructor. Create a spacer defined by its height.
|
|
Constructor. Create a spacer defined by its height.
|
|
Destructor. Render the spacer. |
|
Render widget. Render widget contents to the parent template.
|
|
Initialize parameters. Initialize a spacer defined by its height.
|
|
Initialize parameters. Initialize a spacer defined by CSS class and/or id.
|
|
Spacer data.
|
|
Tag for user-specific data.
|