cwidget 0.5.16
Public Member Functions | Static Public Member Functions | Protected Member Functions

cwidget::widgets::center Class Reference

Inheritance diagram for cwidget::widgets::center:
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 widget, given its width.

Static Public Member Functions

static util::ref_ptr< centercreate (const widget_ref &w=NULL)

Protected Member Functions

 center (const widget_ref &w=NULL)

Member Function Documentation

int cwidget::widgets::center::height_request ( int  width) [virtual]

Calculate the desired height of the widget, given its width.

Parameters:
widththe width of this widget
Returns:
the desired height

Implements cwidget::widgets::widget.

int cwidget::widgets::center::width_request ( ) [virtual]
Returns:
the desired width of the widget.

Implements cwidget::widgets::widget.


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