Re: surface ++= ?
Brian Alliet <[email protected]> Thu, 15 Apr 2004 17:12:37 -0400
| Newsgroups | gmane.comp.java.xwt.widgets |
|---|---|
| Message-ID | <[email protected]> |
On Apr 15, 2004, at 5:07 PM, Charles Goodwin wrote:
>> Anybody else got any ideas?
>
> Have the core put "true" to surface whenever a box changes parent and
> getSurface() has changed.
That doesn't work with self-emulation, MDI, etc. You may have a
non-root box that is a surface if you are making of kind of MDI
interface.
I guess we could compare box.getAndTriggerTraps("surface") before and
after but if you have some kind of dynamically generated surface object
that doesn't work. We could just say "don't do that" though.
-Brian