I love the example in the comment

On Mar 4, 2011, at 9:00 AM, laurent laffont wrote:

> I'm a kind of container which adhere to one edge of the screen. See me in 
> action with: 
> 
> 
> DockingBarMorph new 
>       addMorph: (SimpleButtonMorph new
>                                               label: 'Say hello';
>                                               target: [UIManager inform: 
> 'Hello'];
>                                               actionSelector: #value);
>       addMorph: (SimpleButtonMorph new
>                                               label: 'Say bonjour';
>                                               target: [UIManager inform: 
> 'Bonjour'];
>                                               actionSelector: #value);
>       addMorph: (SimpleButtonMorph new
>                                               label: 'Close';
>                                               target: [DockingBarMorph 
> allInstances last delete];
>                                               actionSelector: #value);
>       adhereToBottom;
>       openInWorld.
> 
> 
> Laurent Laffont - @lolgzs
> 
> Pharo Smalltalk Screencasts: http://www.pharocasts.com/
> Blog: http://magaloma.blogspot.com/
> 
> 
> On Thu, Mar 3, 2011 at 6:28 PM, laurent laffont <[email protected]> 
> wrote:
> Today:  DockingBarMorph
> 
> 
> Comment Of The Day Contest - One Day One Comment
> Rules: 
> #1: Each day a not commented class is elected. Each day the best comment will 
> be integrated with name of the author(s).
> #2: If you cannot comment it, deprecate it.
> Results: http://code.google.com/p/pharo/wiki/CommentOfTheDayContest
> 
> Laurent
> 


Reply via email to