cwidget 0.5.16
Public Member Functions | Static Public Member Functions | Protected Member Functions
cwidget::widgets::frame Class Reference
Inheritance diagram for cwidget::widgets::frame:
cwidget::widgets::bin cwidget::widgets::passthrough cwidget::widgets::container cwidget::widgets::widget trackable

List of all members.

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< framecreate (const widget_ref &w)

Protected Member Functions

 frame (const widget_ref &w)

Member Function Documentation

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.

Parameters:
widththe width of the frame
Returns:
the desired height

Implements cwidget::widgets::widget.

void cwidget::widgets::frame::paint ( const style st) [virtual]

Display this widget.

Parameters:
stthe style environment in which the widget is to be displayed.

Reimplemented from cwidget::widgets::bin.

int cwidget::widgets::frame::width_request ( ) [virtual]
Returns:
the desired width of the frame. A frame is 2 larger than its contents in every direction.

Implements cwidget::widgets::widget.


The documentation for this class was generated from the following files: