Re: surface
Brian Alliet <[email protected]> Fri, 19 Mar 2004 23:03:18 -0500
| Newsgroups | gmane.comp.java.xwt.core |
|---|---|
| Message-ID | <[email protected]> |
On Mar 19, 2004, at 9:46 PM, Charles Goodwin wrote: > If I remember correctly, it was agreed that being able to trap writes > to > surface would be a good thing so that widgets can be aware of when they > change surfaces and make any adjustments necessary. I don't think we agreed on this. We agreed that that the 'surface' property should be a special property that bubbles up to the root box (or possibly some other box along the way in the case of some kind of MDI interface). The surface property isn't actually the root box. It is just a plain old object that contains some useful functions that the root box provides. > At the moment, this is not implemented. And, on top of that, we have > the contents of ibex.lib.surface which make matters extremely > confusing: ibex.lib.surface contains a special object that has (or should have) some special functions that children use when the need to do something with the root box. > Also, if 'surface' is a global reference to a boxes surface It isn't. Ever since the beginning XWT hasn't provided any way for a box to get a direct reference to one of its parents. -Brian