#include <singlecontainer.h>
Inheritance diagram for wftk::SingleContainer:

Public Member Functions | |
| SingleContainer (unsigned top_pad, unsigned bottom_pad, unsigned left_pad, unsigned right_pad) | |
| Constructor. Arguments set padding (in pixels) of container sides. | |
| void | pack (ScreenArea *child) |
| set the child of this container | |
| void | clear () |
| clear the child | |
| void | setPadding (unsigned top_pad, unsigned bottom_pad, unsigned left_pad, unsigned right_pad) |
| set the border padding of this container | |
| ScreenArea * | child () const |
| get this container's child | |
| unsigned | topPad () const |
| Accessor. | |
| unsigned | bottomPad () const |
| Accessor. | |
| unsigned | leftPad () const |
| Accessor. | |
| unsigned | rightPad () const |
| Accessor. | |
Protected Member Functions | |
| virtual void | setPackingInfo () |
| recalculate the object's prefered size | |
| virtual void | handleResize (Uint16 w, Uint16 h) |
| Calculate new shape for shaped widgets, call to setShape() after a resize. | |
This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.