cwidget 0.5.16
|
A size_box ensures that the requested size of its child is a given size or larger. More...
#include <size_box.h>
Public Member Functions | |
int | width_request () |
int | height_request (int w) |
Static Public Member Functions | |
static util::ref_ptr< size_box > | create (size s, const widget_ref &w=NULL) |
Create a size_box. | |
Protected Member Functions | |
size_box (size s, const widget_ref &w) |
A size_box ensures that the requested size of its child is a given size or larger.
static util::ref_ptr<size_box> cwidget::widgets::size_box::create | ( | size | s, |
const widget_ref & | w = NULL |
||
) | [inline, static] |
Create a size_box.
s | the minimum size of this box |
w | the widget initially contained in this box (NULL to create an initially empty box) |
int cwidget::widgets::size_box::height_request | ( | int | w | ) | [virtual] |
w | the width for which a height should be calculated. |
Implements cwidget::widgets::widget.
int cwidget::widgets::size_box::width_request | ( | ) | [virtual] |
Implements cwidget::widgets::widget.