Fixed tool bar in pharo, similar to the one in Squeak
Hi, I would like to add a fixed tool bar in the upper side of the word in Pharo, similar to the one that is in Squeak. I think that having this kind of fixed places with tools help newbies to find help and launch stuff. There is any place where I can install or look for a functionality like this one? Thanks, Offray
2015-03-05 3:49 GMT+01:00 Offray Vladimir Luna Cárdenas <offray@riseup.net>:
Hi,
I would like to add a fixed tool bar in the upper side of the word in Pharo, similar to the one that is in Squeak. I think that having this kind of fixed places with tools help newbies to find help and launch stuff. There is any place where I can install or look for a functionality like this one?
Thanks,
Offray
There is DockingBarMorph, for example: |d| "World deleteDockingBars." d:= DockingBarMorph new. World worldMenu items copy select:[:i| i hasSubMenu] thenDo:[:i| d add: i contents icon: i icon help: i contents subMenu: i subMenu]. d adhereToTop; openInWorld. Although this does not work at the moment due to issue 14829 <https://pharo.fogbugz.com/default.asp?14829> Spec MenuModel submenu not working
Thanks Nicolai. That is exactly what I was looking for. Cheers, Offray El 05/03/15 a las 03:23, Nicolai Hess escribió:
2015-03-05 3:49 GMT+01:00 Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>>:
Hi,
I would like to add a fixed tool bar in the upper side of the word in Pharo, similar to the one that is in Squeak. I think that having this kind of fixed places with tools help newbies to find help and launch stuff. There is any place where I can install or look for a functionality like this one?
Thanks,
Offray
There is DockingBarMorph, for example:
|d| "World deleteDockingBars." d:= DockingBarMorph new. World worldMenu items copy select:[:i| i hasSubMenu] thenDo:[:i| d add: i contents icon: i icon help: i contents subMenu: i subMenu]. d adhereToTop; openInWorld.
Although this does not work at the moment due to issue 14829 <https://pharo.fogbugz.com/default.asp?14829> Spec MenuModel submenu not working
Thanks for the reminder. I will put it on my list. Now finishing a contents browser. So that we can remove all the codeHolder hierarchy finally.
There is DockingBarMorph, for example:
|d| "World deleteDockingBars." d:= DockingBarMorph new. World worldMenu items copy select:[:i| i hasSubMenu] thenDo:[:i| d add: i contents icon: i icon help: i contents subMenu: i subMenu]. d adhereToTop; openInWorld.
Although this does not work at the moment due to issue 14829 <https://pharo.fogbugz.com/default.asp?14829> Spec MenuModel submenu not working
Hi, I'm making some progress with DockingBarMorph, but I can't find how to delete a particular bar and "World deleteDockingBars." deletes also the windows taskbar. So there is a way to selective delete a docking bar or if not to relaunch the only the windows taskbar at the bottom? Thanks, Offray El 05/03/15 a las 03:23, Nicolai Hess escribió:
2015-03-05 3:49 GMT+01:00 Offray Vladimir Luna Cárdenas <offray@riseup.net <mailto:offray@riseup.net>>:
Hi,
I would like to add a fixed tool bar in the upper side of the word in Pharo, similar to the one that is in Squeak. I think that having this kind of fixed places with tools help newbies to find help and launch stuff. There is any place where I can install or look for a functionality like this one?
Thanks,
Offray
There is DockingBarMorph, for example:
|d| "World deleteDockingBars." d:= DockingBarMorph new. World worldMenu items copy select:[:i| i hasSubMenu] thenDo:[:i| d add: i contents icon: i icon help: i contents subMenu: i subMenu]. d adhereToTop; openInWorld.
Although this does not work at the moment due to issue 14829 <https://pharo.fogbugz.com/default.asp?14829> Spec MenuModel submenu not working
I'm making some progress with DockingBarMorph, but I can't find how to delete a particular bar and "World deleteDockingBars." deletes also the windows taskbar. So there is a way to selective delete a docking bar or if not to relaunch the only the windows taskbar at the bottom?
If you still have the reference to it (i.e. d := DockingBarMorph new.), then you can simply delete it (d delete.) If you do not have the reference, you can iterate over World dockingBars and find yours, and then delete it (e.g. World dockingBars first delete). Also if you just want to delete it by hand, you can shift+middle mouse click on the docking bar to open halos and close it there. Peter
Peter, Thanks, that was what I was looking for. Cheers, Offray El 07/03/15 a las 14:07, Peter Uhnák escribió:
I'm making some progress with DockingBarMorph, but I can't find how to delete a particular bar and "World deleteDockingBars." deletes also the windows taskbar. So there is a way to selective delete a docking bar or if not to relaunch the only the windows taskbar at the bottom?
If you still have the reference to it (i.e. d := DockingBarMorph new.), then you can simply delete it (d delete.)
If you do not have the reference, you can iterate over World dockingBars and find yours, and then delete it (e.g. World dockingBars first delete).
Also if you just want to delete it by hand, you can shift+middle mouse click on the docking bar to open halos and close it there.
Peter
participants (4)
-
Nicolai Hess -
Offray Vladimir Luna Cárdenas -
Peter Uhnák -
stepharo