Albrecht Schlosser wrote:

> Andreas or others: does anyone know of an example where we would need to
> search (or iterate with the proposed "foreach" functions) all widgets
> with at particular association type?

Okay, found one in Andreas's original post: "think of an remote controller that 
wants to send events to widgets with certain names. So you need to attach those 
names."

This would require a way to find all widgets that have such name associations,
or even a particular name. Otherwise you would have to search all widgets in
all windows.

One more thought: IMHO the optimal way to implement this can't be decided,
because nobody would know how it will be used, anyway. The central
question would be the relation of #widgets/#associations and/or the number
of associations per widgets. So we must guess and decide something.

Thoughts, anybody?

Albrecht
_______________________________________________
fltk-dev mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to