Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Examples

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.

See the Layout HOWTO for details.


Constructor & Destructor Documentation

YFrame::YFrame const YWidgetOpt opt,
const YCPString label
 

Constructor


Member Function Documentation

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

Implements the ui command changeWidget.

string Value the label text

Reimplemented from YWidget.

YCPString YFrame::getLabel  ) 
 

Get the current label.

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.

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

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

Reimplemented from YContainerWidget.


Member Data Documentation

YCPString YFrame::label [protected]
 

The current frame label.


The documentation for this class was generated from the following files:
Generated on Fri Nov 9 18:15:25 2007 for yast2-core by doxygen 1.3.6