cwidget 0.5.16
|
Public Member Functions | |
int | width_request () |
int | height_request (int width) |
Calculate the desired height of the frame. | |
virtual void | paint (const style &st) |
Display this widget. | |
Static Public Member Functions | |
static util::ref_ptr< frame > | create (const widget_ref &w) |
Protected Member Functions | |
frame (const widget_ref &w) |
int cwidget::widgets::frame::height_request | ( | int | width | ) | [virtual] |
Calculate the desired height of the frame.
A frame is 2 larger than its contents in every direction.
width | the width of the frame |
Implements cwidget::widgets::widget.
void cwidget::widgets::frame::paint | ( | const style & | st | ) | [virtual] |
Display this widget.
st | the style environment in which the widget is to be displayed. |
Reimplemented from cwidget::widgets::bin.
int cwidget::widgets::frame::width_request | ( | ) | [virtual] |
Implements cwidget::widgets::widget.