#include <YSquash.h>
Inheritance diagram for YSquash:

Public Member Functions | |
| YSquash (const YWidgetOpt &opt, bool hsquash, bool vsquash) | |
| virtual char * | widgetClass () |
| bool | stretchable (YUIDimension dim) const |
Protected Attributes | |
| bool | squash [YUIAllDimensions] |
HSquash VSquash HVSquash Squash
| YSquash::YSquash | ( | const YWidgetOpt & | opt, | |
| bool | hsquash, | |||
| bool | vsquash | |||
| ) |
Constructor
| virtual char* YSquash::widgetClass | ( | ) | [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YContainerWidget.
| bool YSquash::stretchable | ( | YUIDimension | dim | ) | const [virtual] |
In a squashed dimension the widget NOT stretchable. In an unsquashed dimension the widget is stretchable if the child is stretchable.
Reimplemented from YContainerWidget.
bool YSquash::squash[YUIAllDimensions] [protected] |
In which dimensions to squash the contained widget.
1.5.0