Here is a UGLY changeset, just to show you what I was talking about :)
For now you have to defined your method with pragma before displaying the dock bar, and only support vertical bar, but like that you can see :)��(and yes, using MenuSpec to build buttons is bad ;) but the pragma hierarchy is a bit weird, so you can't properly inherits :s )So by example add the method:��finderButtonOn: aBuilder��"I build a menu"<shortcutTWM>(aBuilder item: #Finder)action: [self open];order: 0;parent: #Tools;help: 'Looking for something ?';icon: self iconon Finder class side, open the Dock bar :)BenPS: if you like it, I can do a better implementation ;)On Jun 8, 2011, at 5:07 PM, laurent laffont wrote:On Wed, Jun 8, 2011 at 4:32 PM, Benjamin Van Ryseghem <benjamin.vanryseghem.pharo@gmail.com> wrote:
2011/6/8 laurent laffont <laurent.laffont@gmail.com>On Wed, Jun 8, 2011 at 4:05 PM, Benjamin Van Ryseghem <benjamin.vanryseghem.pharo@gmail.com> wrote:
On Jun 8, 2011, at 7:50 AM, laurent laffont wrote:
On Wed, Jun 8, 2011 at 7:35 AM, St��phane Ducasse <stephane.ducasse@inria.fr> wrote:
the snapshotting looks really cool!
In nautilus benjmain added groups.
And TWM has already support for nautilus ;)
Cool :-)
I would like to know if we can use TWM as a kind of toolbar and add some custom shortcuts ?
What kind of shortcuts ?
I dunno, a button like when I click on it, it opens a Browser or something like thatSomething likeAbstractTWMBarButton subclass: #MyDoSomethingButtonMyDoSomethingButton>>help�� ^ 'I do a wonderful thing'MyDoSomethingButton>>icon�� ^ blabla asFormMyDoSomethingButton>>execute�� MyThing new open.MyDoSomethingButton>>priority�� ^ 25and then TWMBar creates one button per��AbstractTWMBarButton subclass.Is this what you would like ?And someone want to do this ? :)��Laurent.��Ben��Laurent.��
Ben
Laurent.
��
Stef
On Jun 7, 2011, at 10:33 PM, laurent laffont wrote:
> With the help of my local developper group, I've integrated Sean DeNigris work and now Tiling Window Manager supports Multiple Worlds.
>
> Here's a screencast that shows the progress. (My English seems a little less catastrophic than the previous screencast :)
>
> http://magaloma.blogspot.com/2011/06/multiple-worlds-for-twm.html
>
>
> Cheers,
>
> Laurent Laffont - @lolgzs
>
> Pharo Smalltalk Screencasts: http://www.pharocasts.com/
> Blog: http://magaloma.blogspot.com/
> Developer group: http://cara74.seasidehosting.st
>