[Tweak] Tweak position?

Yanni Chiu yanni at rogers.com
Wed Feb 9 15:44:05 UTC 2005


goran.krampe at bluefish.se wrote:
> 
> As most often is the case not much will be done if noone has that itch.
> Btw, if we are going for an XML description (or hey, why limit us to ONE
> way of expressing UIs) we could simply try to use the same that say
> Glade uses. Or the one wx uses. Or at least look at them so that we can
> interoperate.

Why not use Smalltalk objects (other than arrays).
Then we could write stuff like:

aUISpec printXmlOn: aStream
aUISpec compileForMorphicIn: Smalltalk language: #EN
aUISpec compileForSeasideIn: Smalltalk
aUISpec compileForWxIn: Smalltalk
aUISpec compileForMvcIn: Smalltalk
aUISpec exportToVisualAge
aUISpec exportToVisualWorks

aUISpec := UISpec readGladeXmlFrom: aStream
aUISpec := UISpec buildFromMorphicSystemWindow: aSystemWindow

UISpecBuilder open
UISpecBuilder openOn: aUISpec

--yanni



More information about the Squeak-dev mailing list