Hi Rob, Besides the Stéphane's example, you will find attached a cool Morphic example to start experimenting with Layouts. Possibly it's non-functional because of some Nebraska dependencies with the Sound package (I don't know the status of Sound in Pharo) but it would be sufficient for your purposes. To open it: ChatNotes new openAsMorph. and play with the implementation of #openAsMorph Cheers, Hernán 2009/12/5 Rob Rothwell <r.j.rothwell@gmail.com>:
I just can't seem to figure this out from the UITheme examples. Can anyone give me some general pointers on building a plain old Window?  I know there isn't a UI builder, but how do you control the placement of the child controls you create in the window? For example, the following will create a StandardWindow and add a button to it (in the upper left corner).  Do you control placement [of the button] with LayoutFrame?  How do you use LayoutFrame? | win btnOk | win := StandardWindow new. btnOk := win newButtonFor: nil action: #ok getEnabled: nil label: 'Ok' help: nil. win addMorph: btnOk . win themeChanged; openInWorld. Thank you.  I am finally trying to understand how to build some typical applications without a GUI builder... Take care, Rob _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project