If one day we need to menubar we will design a specific menuMorph that avoids to be crippled of is....whatever. In old code the power of dispatch was largely underestimated. Stef On 25/7/14 12:12, Nicolas Cellier wrote:
I don't know if Squeak has exclusivity or patents on DockingBar ;), but it is used in Squeak 4.x for sure. My productivity had a great boost since we attached one top of the World.
2014-07-25 7:48 GMT+02:00 Peter Uhnák <i.uhnak@gmail.com <mailto:i.uhnak@gmail.com>>:
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 <mailto: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 <mailto: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 ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.