YFrame Class Reference

Implementation of the Frame widget. More...

#include <YFrame.h>

Inheritance diagram for YFrame:

YContainerWidget YWidget List of all members.

Public Member Functions

 YFrame (const YWidgetOpt &opt, const YCPString &label)
virtual char * widgetClass ()
YCPValue changeWidget (const YCPSymbol &property, const YCPValue &newvalue)
YCPValue queryWidget (const YCPSymbol &property)
virtual void setLabel (const YCPString &label)
YCPString getLabel ()

Protected Attributes

YCPString label

Detailed Description

Implementation of the Frame widget.

Frame

This widget draws a frame around its child and displays a title label within the top left edge of that frame. It is used to visually group widgets together. It is very common to use a frame like this around radio button groups.


Constructor & Destructor Documentation

YFrame::YFrame ( const YWidgetOpt opt,
const YCPString label 
)

Constructor


Member Function Documentation

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

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

Reimplemented from YContainerWidget.

YCPValue YFrame::changeWidget ( const YCPSymbol property,
const YCPValue newvalue 
) [virtual]

Implements the ui command changeWidget.

Reimplemented from YWidget.

YCPValue YFrame::queryWidget ( const YCPSymbol property  )  [virtual]

Implements the ui command changeWidget.

Reimplemented from YWidget.

void YFrame::setLabel ( const YCPString label  )  [virtual]

Change the Frame label. Overload this, but call YFrame::setLabel at the end of your own function.

YCPString YFrame::getLabel (  ) 

Get the current label.


Member Data Documentation

YCPString YFrame::label [protected]

The current frame label.


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