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

List of all members.

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< stackedcreate (int w=0, int h=0)

Protected Member Functions

void paint (const style &st)
 Display this widget.
 stacked (int w, int h)

Member Function Documentation

int cwidget::widgets::stacked::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.

void cwidget::widgets::stacked::paint ( const style st) [protected, virtual]

Display this widget.

Parameters:
stthe 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]
Returns:
the desired width of the widget.

Implements cwidget::widgets::widget.


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