Isn't DockingBar a Squeak thing? The little tabs things that would live around the edges of the screen and you could grab morphs onto a canvas. On Fri, Jul 25, 2014 at 2:06 AM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
No idea what this could be. go go go!
Alexandre
On Jul 24, 2014, at 4:39 PM, stepharo <stepharo@free.fr> 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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.