YSquash Class Reference

Implementation of the HSquash, VSquash and HVSquash widgets. More...

#include <YSquash.h>

Inheritance diagram for YSquash:

YContainerWidget YWidget List of all members.

Public Member Functions

 YSquash (const YWidgetOpt &opt, bool hsquash, bool vsquash)
virtual char * widgetClass ()
bool stretchable (YUIDimension dim) const

Protected Attributes

bool squash [YUIAllDimensions]

Detailed Description

Implementation of the HSquash, VSquash and HVSquash widgets.


Constructor & Destructor Documentation

YSquash::YSquash const YWidgetOpt opt,
bool  hsquash,
bool  vsquash
 

Constructor


Member Function Documentation

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.

virtual char* YSquash::widgetClass  )  [inline, virtual]
 

Returns a descriptive name of this widget class for logging, debugging etc.

Reimplemented from YContainerWidget.


Member Data Documentation

bool YSquash::squash[YUIAllDimensions] [protected]
 

In which dimensions to squash the contained widget.


The documentation for this class was generated from the following files:
Generated on Fri Jun 16 18:07:47 2006 for yast2-core by  doxygen 1.4.6