YEmpty Class Reference

Implementation of the Empty, HStretch, VStretch, and HVStretch widgets. More...

#include <YEmpty.h>

Inheritance diagram for YEmpty:

YWidget List of all members.

Public Member Functions

 YEmpty (const YWidgetOpt &opt)
virtual char * widgetClass ()
long nicesize (YUIDimension dim)
bool isLayoutStretch (YUIDimension dim) const

Detailed Description

Implementation of the Empty, HStretch, VStretch, and HVStretch widgets.

Empty HStretch VStretch HVStretch

`HStretch()


Constructor & Destructor Documentation

YEmpty::YEmpty ( const YWidgetOpt opt  ) 

Constructor


Member Function Documentation

virtual char* YEmpty::widgetClass (  )  [inline, virtual]

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

Reimplemented from YWidget.

long YEmpty::nicesize ( YUIDimension  dim  )  [virtual]

Minimum size the widget should have to make it look and feel nice. This is 0 for the empty widget.

Parameters:
dim Dimension, either YD_HORIZ or YD_VERT

Implements YWidget.

bool YEmpty::isLayoutStretch ( YUIDimension  dim  )  const [virtual]

Returns true if this is a layout stretch space in dimension "dim". Such widgets will receive special treatment in layout calculations. Inherited from YWidget.

Reimplemented from YWidget.


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