[ENH] RemoveFlexShell

umejava at mars.dti.ne.jp umejava at mars.dti.ne.jp
Mon Mar 29 12:19:24 UTC 2004


from preamble:

"Change Set:		RemoveFlexShell
Date:			29 March 2004
Author:			Masashi Umezawa

To add a flex shell to a morph, you do:

	self addFlexShell.

However, to remove the shell, you have to:

	self isFlexed
		ifTrue: [self owner removeFlexShell].

It is asymmetrical, awkward, I think. 

Now you can:

	self removeFlexShell.

"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RemoveFlexShell.cs.gz
Type: application/octet-stream
Size: 351 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040329/f48fe907/RemoveFlexShell.cs.obj


More information about the Squeak-dev mailing list