[Pharo-users] How to draw a Morph with Athens?

Pharo4Stef pharo4Stef at free.fr
Sun Mar 30 15:15:54 EDT 2014


On 30 Mar 2014, at 17:34, MartinW <wm at fastmail.fm> wrote:

> Igor Stasenko wrote
>> u you u no draw morphs by athens :)
>> 
>> - use AthensWrapMorph.
>> put as many submorphs into it, and they all will be drawn via Athens.
>> eventually, the need in wrap morph will disappear once WorldMorph (the
>> root
>> of all morphs) start using Athens directly.
> 
> Ok, thank you, that's nice.
> What is the intended use - subclass AthensWrapMorph instead of Morph for my
> own Morphs,



the second choice.
This way when we swicth to athens you will have nothing to do.
> or make my Morphs subclasses of Morph as usual and always create
> a AthensWrapMorph and then add them as submorphs?
> 
> M.
> 
> 
> 
> 
> --
> View this message in context: http://forum.world.st/How-to-draw-a-Morph-with-Athens-tp4751463p4751715.html
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
> 





More information about the Pharo-users mailing list