The EventController is significantly more complicated. And I don't
really gain anything at all from the complexity. Mine is very simple
and does exactly what I want with very minimal setup.

On Tue, Nov 29, 2011 at 11:57 AM, Luke Kenneth Casson Leighton
<[email protected]> wrote:
> On Tue, Nov 29, 2011 at 4:39 PM, Lex Berezhny <[email protected]> wrote:
>> Okay, you twisted my arm, here is all the relevant:
>>
>> class EventHandler:
>>    def __init__(self):
>>        self._events = {}
>
>  *lol* yep it's the same thing - argh kees moved it grr
>
>  kees, i'm really really disliking the "advertising" that pyjamas is
> associated in any way with gwt.
>
>  *sigh* - ok it's library/gwt/EventController.py - i recommend the
> class Handler because it can take args as well as kwargs, as _well_ as
> take in extra "static" args (and kwargs) when you add a listener.
>
>  l.

Reply via email to