cwidget 0.5.16
|
Classes | |
struct | child_info |
Public Member Functions | |
void | destroy () |
Destroys the visible representation of this widget and disconnects it from any children that it may have. | |
void | add_widget (const widget_ref &w) |
void | rem_widget (const widget_ref &w) |
void | raise_widget (const widget_ref &w) |
void | lower_widget (const widget_ref &w) |
void | raise_widget_bare (widget &w) |
void | lower_widget_bare (widget &w) |
void | dispatch_mouse (short id, int x, int y, int z, mmask_t bstate) |
widget_ref | get_focus () |
void | show_all () |
Display this widget and all its subwidgets. | |
int | width_request () |
int | height_request (int w) |
Calculate the desired height of the widget, given its width. | |
Static Public Member Functions | |
static util::ref_ptr< stacked > | create (int w=0, int h=0) |
Protected Member Functions | |
void | paint (const style &st) |
Display this widget. | |
stacked (int w, int h) |
int cwidget::widgets::stacked::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.
void cwidget::widgets::stacked::paint | ( | const style & | st | ) | [protected, virtual] |
Display this widget.
st | the style environment in which the widget is to be displayed. |
Implements cwidget::widgets::widget.
void cwidget::widgets::stacked::show_all | ( | ) | [virtual] |
Display this widget and all its subwidgets.
Implements cwidget::widgets::container.
int cwidget::widgets::stacked::width_request | ( | ) | [virtual] |
Implements cwidget::widgets::widget.