EW_WidgetList
EW_WidgetList
ew
1998 12-05
CLASS
EW_WidgetList - linked list of widgets
SYNOPSIS
Class EW_WidgetList
is basically just a doubly-linked list of
EW_Widget's using the GPL_DoubleList
template with some additional member functions.
It is usually used as a list of a parent widget's child widgets.
PUBLIC MEMBER FUNCTIONS
Inheritance from class
GPL_DoubleList
long Descend(EW_Event *event,long mode)
Selectively pass the event through to child widgets.
Usually only called from the parent's EW_Widget::Descend().
long Resize(EW_Resize *resize)
Recursively resize the child widgets.
Usually only called from the parent's EW_Widget::Resize() .
void DumpInfo(long level,long recursive)
Print information about the list of widgets,
generally called from EW_Window::Dump().
This function calls EW_Widget::DumpInfo() for each widget.
If recursive is non-zero, dump the children's widget lists as well.
FILES
ew/widget.h Widget/WidgetList header file
SEE ALSO
EW_intro(3),
EW_Widget(3),
GPL_DoubleList(3)
NOTES
EW_Widgets can never be a member of more than one widget list.
To rephrase, widgets should never try to have more than one parent.