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.

HSquash VSquash HVSquash Squash


Constructor & Destructor Documentation

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

Constructor


Member Function Documentation

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.


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 Tue Nov 6 01:20:23 2007 for yast2-core by  doxygen 1.5.0