[Pharo-project] TilingWM - layout policies
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout Strategy in settings. Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies. To add your own just subclass TWMLayoutStrategy and implement #tileWindows: Cheers, Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs> Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
Great! Perhaps a pattern strategy can be used also for filtering windows, for example if you want to include or not minimized, or writing complex filters like "all windows whose title includes 'Project X'". 2011/5/31 laurent laffont <laurent.laffont@gmail.com>
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout Strategy in settings.
Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies.
To add your own just subclass TWMLayoutStrategy and implement #tileWindows:
Cheers,
Laurent Laffont - @lolgzs <http://twitter.com/#!/lolgzs>
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
On Wed, Jun 1, 2011 at 3:58 AM, laurent laffont <laurent.laffont@gmail.com> wrote:
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout Strategy in settings.
Yes, i join the CARA 74 Coding Dojo remotely with Skype and it was really fun :-)
Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies. To add your own just subclass TWMLayoutStrategy and implement #tileWindows:
I had no knowledge of TWM before joining but thanks to the existing tests this was quite easy to refactor the code. I think that we need to do more of these remote sessions in the future. Regards, -- Serge Stinckwich UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam Every DSL ends up being Smalltalk http://doesnotunderstand.org/
You know wht I would love to have is a simple browser class>>selector method body so that I can till my methods :) Stef On May 31, 2011, at 10:58 PM, laurent laffont wrote:
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout Strategy in settings.
Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies.
To add your own just subclass TWMLayoutStrategy and implement #tileWindows:
Cheers,
Laurent Laffont - @lolgzs
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
On Wed, Jun 1, 2011 at 7:27 AM, Stéphane Ducasse <stephane.ducasse@inria.fr>wrote:
You know wht I would love to have is a simple browser
class>>selector method body
so that I can till my methods :)
An idea is that when we double click on a method in the browser (or use a key shorcut) it opens a new window with just an editor with class>>method as title. So we can open several editors that don't eat space. Then we can add a TWM Layout strategy that put only one browser on top and all editor windows tiled below. Another way is that browsing panes can be hidden by default (add a setting for this behavior) so it shows only method / class definition. Add a button to toggle browsing panes visibility (may be easier to do this). Laurent.
Stef
On May 31, 2011, at 10:58 PM, laurent laffont wrote:
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout Strategy in settings.
Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies.
To add your own just subclass TWMLayoutStrategy and implement #tileWindows:
Cheers,
Laurent Laffont - @lolgzs
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
Hello, I've published a version in the repo : Filename: TWM-PatrickBarroca.45.mcz Author: Timestamp: 2 June 2011 7:10:11 pm UUID: 9af76406-16a9-42a3-aa54-8931a8934f99 Ancestors: TWM-LaurentLaffont.44.mcz Message: Added human readable names to layout strategies Downloads: Web: 1 On Tue, May 31, 2011 at 10:58 PM, laurent laffont <laurent.laffont@gmail.com> wrote:
Thanks to Stefan, Serge, Patrick and Estelle now you can choose a Layout
Strategy in settings.
Actually there's Horizontal (default) and Vertical (last used windows fills all remaining space) strategies. To add your own just subclass TWMLayoutStrategy and implement #tileWindows: Cheers, Laurent Laffont - @lolgzs
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
-- Patrick Barroca
participants (5)
-
Gastón Dall' Oglio -
laurent laffont -
Patrick Barroca -
Serge Stinckwich -
Stéphane Ducasse