#include <YFrame.h>
Inheritance diagram for YFrame:

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 |
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.
| YFrame::YFrame | ( | const YWidgetOpt & | opt, | |
| const YCPString & | label | |||
| ) |
Constructor
| virtual char* YFrame::widgetClass | ( | ) | [inline, virtual] |
Returns a descriptive name of this widget class for logging, debugging etc.
Reimplemented from YContainerWidget.
Implements the ui command changeWidget.
Reimplemented from YWidget.
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.
YCPString YFrame::label [protected] |
The current frame label.
1.5.0