Re: Trapping Box Properties?

Adam Megacz <[email protected]> Mon, 19 Apr 2004 00:53:42 -0700
Newsgroups gmane.comp.java.xwt.core
Organization XWT
Message-ID <[email protected]>
It might get triggered twice.  Nothing wrong with that.  SizeChange
often got called more than once for the same size (ie when an actual
"change" hadn't happened).

It's like SMTP.  You're guaranteed to get the message, but you might
get it more than once.  Most windowing systems' messaging protocols
are like this for non-input events (ie stuff other than keystrokes and
mouse clicks).

  - a


Brian Alliet <[email protected]> writes:
> On Apr 19, 2004, at 3:00 AM, Adam Megacz wrote:
>
>>> It is going to invoke any traps on them regardless unless we put
>>> some ugly special cases in there.
>>
>> The extra cases only add additional trap invocations.  They don't
>> inhibit any trap invocations.
>
> So does the height trap get invoked twice when someone does
> mybox.height = 100 ? If so how does org.xwt.js know to not call
> box.put("height",..) after the second invocation completes?
>
> -Brian
>
>
> _______________________________________________
> core mailing list
> [email protected]
> http://lists.xwt.org/listinfo/core
>

-- 
"It's lucky," he added, after a pause, "that there are such a lot of
islands in the world.  I almost envy you, Mr. Watson."

                                                   -- Mustapha Mond