On Tue, Nov 04, 2003 at 01:18:31PM +0100, Lars Gullik Bjønnes wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > | But's easier to build up a stack of insets at position (x,y) and go > | inside-out until the first inset shouts 'I can handle it!'. > | The effect is the same and the implementation is much simpler. > > Won't you need a back pointer then? All insets must know their owners?
No, that stack is created on-the-fly just before the dispatch is executed. Creating the stack is basically the same code as the manual 'passing down' in each inset consolidated to a single place. The implemented concept is the same (innermost insets gets a chance to react first), but code is nicer... Andre'