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< center > | create (const widget_ref &w=NULL) |
Protected Member Functions | |
center (const widget_ref &w=NULL) |
int cwidget::widgets::center::height_request | ( | int | width | ) | [virtual] |
Calculate the desired height of the widget, given its width.
width | the width of this widget |
Implements cwidget::widgets::widget.
int cwidget::widgets::center::width_request | ( | ) | [virtual] |
Implements cwidget::widgets::widget.