The GUI to end all GUI libraries (Let's Dream!)

Bastiaan Veelo Bastiaan at Veelo.net
Thu Nov 29 00:38:31 PST 2007


Bill Baxter wrote:
> Tom S wrote:
>> Bill Baxter wrote:
>>>> It used/uses an event processing system called 'sinking and 
>>>> bubbling' which is superior to anything in existence ;)
>>>
>>> Gee thanks, that really clears it up for me.  :-P
>>>
>>> But you're wrong anyway.  Few people know it, but the most superior 
>>> event processing system ever was the 'skulking and babbling' system 
>>> invented at Xerox Parc, and promptly forgotten.  By everyone. :-P
>>
>> LOL :D Well, the concept was explained here: 
>> http://www.digitalmars.com/pnews/read.php?server=news.digitalmars.com&group=digitalmars.D.dwt&artnum=61 
> 
> 
> Ah, ok.  Makes sense now.   Yes that is nice.  It drives me mad in 
> wxWidgets that only that *one* widget gets the event, except .  I can't 
> remember what Qt does there.


I can't either, but the sinking/bubling reminds me of how GTK+ handles 
events -- although I think that there the traversal is only 
unidirectional. Every widget in the chain can act on an event, and 
either stop the traversal (handled) or let it bubble further up the 
chain. There is also a filtering mechanism, so widgets can be configured 
to never receive events that they are not interested in.

Good to know that wxWidgets has that limitation. We have considered 
using it, but went for GTK+ instead.


Bastiaan.



More information about the Digitalmars-d mailing list