Re: Clarification of layout proposal

Charles Goodwin <[email protected]> Thu, 3 Apr 2003 11:11:52 +0100
Newsgroups gmane.comp.java.xwt.general
Message-ID <308906BE5D07D5119285009027D61C5722F69D@NTFPS1>
> What's the point?

Grrrrrrr you're so frustrating!!!!!!!! :)

Let's remember it was you who *insisted* (and convinced me) that separating
out the preapplies is a good thing.

Then, yes, you have 2 versions of many of the widgets.

1) lib is generic code.  2) theme is box theming code.  They are 2 distinct
concepts.

eg belongs in lib

_somelibtrap = function( x ) {
    if ( x ) y = true;
    else z = true;
}

eg belongs in theme

_layoutbox = function( x ) {
    arguments.cascade( x );
    layoutbox._SizeChange = function() {
        somelibtrap = true;
    }
}

_keypress = function( k ) { ... } // common keybindings, like "tab" in
focusable

Are you now saying that the preapplies belong with the 'theme' bit?
_______________________________________________
http://lists.xwt.org/listinfo/dev