Customizing Magritte Morphic Forms
Sean P. DeNigris
sean at clipperadams.com
Sun Jan 1 22:29:45 MET 2012
Tudor Girba-2 wrote
>
> Here is the code from the rendering in Glamour:
>
Thanks for the immediate feedback!
I realized from your snippet what was missing in my attempt:
| form window |
form := anAddress asMorph addButtons.
window := SystemWindow new addMorph: form ***morph*** fullFrame:
(LayoutFrame fractions: (0 at 0 corner: 1.0 at 1.0) offsets: (10 at 10 corner:
10 at 10)).
window openInWorld.
OMG! It seems terribly misleading to me to call something a morph that is
not a morph. This violates the principle of least surprise, and while
surprises are nice today because it's a holiday, not so much the rest of the
year ;-)
Humble suggestions:
1) change #asMorph to something like forMorphic
2) make #addWindow behave more reasonably
3) MAContainerMorph and friends -> MAMorphicContainer
--
View this message in context: http://forum.world.st/Customizing-Magritte-Morphic-Forms-tp4251518p4251623.html
Sent from the Magritte, Pier and Related Tools mailing list archive at Nabble.com.
More information about the smallwiki
mailing list