Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

PG_WidgetListEx Class Reference

Inheritance diagram for PG_WidgetListEx:

Inheritance graph
[legend]
Collaboration diagram for PG_WidgetListEx:

Collaboration graph
[legend]
List of all members.

Detailed Description

A group of widgets arranged in a specific way graphically supporting Y spaceing.

Author:
Jaroslav Vozab

Generally used to make a large 'pane' of widgets that can be scrolled through in a smaller 'portal' with scrollbars.


Public Member Functions

 PG_WidgetListEx (PG_Widget *parent, const PG_Rect &r=PG_Rect::null, const char *style="WidgetList")
 Constructor of the PG_WidgetListEx class.

void AddWidget (PG_Widget *w)
 Add a widget to the list.

void AddChild (PG_Widget *child)
 Add a clientwidget (which will be embedded into this widget).

bool RemoveWidget (PG_Widget *w, bool shiftx=false, bool shifty=false)
 Remove a widget from the list.


Constructor & Destructor Documentation

PG_WidgetListEx::PG_WidgetListEx PG_Widget parent,
const PG_Rect r = PG_Rect::null,
const char *  style = "WidgetList"
 

Constructor of the PG_WidgetListEx class.


Member Function Documentation

void PG_WidgetListEx::AddChild PG_Widget child  )  [virtual]
 

Add a clientwidget (which will be embedded into this widget).

Parameters:
child the widget to add

Reimplemented from PG_WidgetList.

void PG_WidgetListEx::AddWidget PG_Widget w  )  [virtual]
 

Add a widget to the list.

Parameters:
w pointer to a widget

Reimplemented from PG_WidgetList.

Reimplemented in PG_RichEdit.

bool PG_WidgetListEx::RemoveWidget PG_Widget w,
bool  shiftx = false,
bool  shifty = false
 

Remove a widget from the list.

Parameters:
w pointer to a widget
shiftx reposition all widgets to the right of the removed widget
shifty reposition all widgets below

Reimplemented in PG_RichEdit.



The ParaGUI Project - Alexander Pipelka