No idea what this could be.
go go go! 

Alexandre


On Jul 24, 2014, at 4:39 PM, stepharo <[email protected]> wrote:

> Hi guys
> 
> the code of MenuMorph is crippled of isInDockingBar and the logic is much 
> more complex.
> I have the impression that it is decades since we got a menu in a docking 
> bar. I do not even remember
> what it mean. I would like to clean this part because we should really be a 
> bit more radical else we will die under
> the mass of complex, old.... code.
> 
> Stef
> 
> looks like a dockingbar is this
> 
> 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.
> 

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




Reply via email to