Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? 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 Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 2:12 PM *Subject:* Re: [Pharo-project] Tab widget improvements
On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Something to get you started... ;-0
aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Laurent
WindowOrganiser new open
Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...".
Plenty of evilness left to sort out with it, naturally. Have fun!
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 10:03 AM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Laurent.
Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again.
For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner:
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Wednesday, June 08, 2011 5:20 PM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Gary,
I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :)
Create a SystemWindow subclass: #TabbedWindow (or better name).
In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab.
So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached.
MultiWorkspaceWindow new open
Use the window menu to add workspaces, otherwise works like a workspace for the selected tab.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" < gazzaguru2@btinternet.com>
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM
Subject: Re: [Pharo-project] Tab widget improvements
Lol
Regards, Gary
----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements
You know my soft spot :)
Doru
On 8 Jun 2011, at 16:04, Gary Chambers wrote:
I expect Doru will want it in 1.3 for Moose ;-)
Regards, Gary
----- Original Message ----- From: "Marcus Denker" < marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements
On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:
Attached, some improvements to the TabGroupMorph etc. having had
feedback from Doru.
Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one).
Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons.
Do we put that in 1.3 or 1.4?
http://code.google.com/p/pharo/issues/list?thanks=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com
"Live like you mean it."
excellent!!! We need to use the same in Nautilus and Glamour Stef On Jun 10, 2011, at 8:52 AM, laurent laffont wrote:
Hi Gary,
I've played a little and changed:
DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru'
(sorry, I feel stupid, I don't know how to make a changeset, need to look at this :)
So I can open a sort of docking panel: (see attached screenshot)
WindowOrganiser new openInWorld; height:200; adhereToBottom.
That means we can have docking panels like the IDEs Java students use :)
Moreover TWM tile windows only in clear area, so all this play nicely together.
I wonder what's the best way to package all this. In Polymorph ?
Laurent Laffont - @lolgzs
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached)
Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements
On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0
aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Laurent
WindowOrganiser new open
Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...".
Plenty of evilness left to sort out with it, naturally. Have fun!
Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements
Hi Laurent.
Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again.
For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner:
Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements
Hi Gary,
I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :)
Create a SystemWindow subclass: #TabbedWindow (or better name).
In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab.
So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached.
MultiWorkspaceWindow new open
Use the window menu to add workspaces, otherwise works like a workspace for the selected tab.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com>
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM
Subject: Re: [Pharo-project] Tab widget improvements
Lol
Regards, Gary
----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements
You know my soft spot :)
Doru
On 8 Jun 2011, at 16:04, Gary Chambers wrote:
I expect Doru will want it in 1.3 for Moose ;-)
Regards, Gary
----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements
On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:
Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru.
Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one).
Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons.
Do we put that in 1.3 or 1.4?
http://code.google.com/p/pharo/issues/list?thanks=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com
"Live like you mean it."
<windoworganizer.png>
On 10.06.2011 08:56, Stéphane Ducasse wrote:
excellent!!! We need to use the same in Nautilus and Glamour
Stef On Jun 10, 2011, at 8:52 AM, laurent laffont wrote: Just a minor nitpick, but if it is to be included in core it should probably change name to WindowOrganizer, to keep in spirit with the absence of EN_UK spelling in other class names :)
Cheers, Henry
Hi, WindowOrganiser was mainly meant as an example for Laurent. As for naming, if it goes into core then I agree. Sent from my iPhone On 14 Jun 2011, at 11:53, Henrik Sperre Johansen <henrik.s.johansen@veloxit.no> wrote:
On 10.06.2011 08:56, Stéphane Ducasse wrote:
excellent!!! We need to use the same in Nautilus and Glamour
Stef On Jun 10, 2011, at 8:52 AM, laurent laffont wrote: Just a minor nitpick, but if it is to be included in core it should probably change name to WindowOrganizer, to keep in spirit with the absence of EN_UK spelling in other class names :)
Cheers, Henry
On Tue, Jun 14, 2011 at 5:18 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Hi, WindowOrganiser was mainly meant as an example for Laurent.
Yes... and I agree we should use a Morph subclass instead of SystemWindows for composition. I wait 1.4 to work on it as we need your enhancements first. Laurent.
As for naming, if it goes into core then I agree.
Sent from my iPhone
On 14 Jun 2011, at 11:53, Henrik Sperre Johansen < henrik.s.johansen@veloxit.no> wrote:
On 10.06.2011 08:56, Stéphane Ducasse wrote:
excellent!!! We need to use the same in Nautilus and Glamour
Stef On Jun 10, 2011, at 8:52 AM, laurent laffont wrote: Just a minor nitpick, but if it is to be included in core it should probably change name to WindowOrganizer, to keep in spirit with the absence of EN_UK spelling in other class names :)
Cheers, Henry
Tools->Change Sorter for changesets... Not sure where to put it for now, probably Polymorph-Widgets. One other nicety (adapt the first bit as required for dock)... addWindow: aSystemWindow "Add an existing window to the pages." TopWindow = aSystemWindow ifTrue: [self class passivateTopWindow]. self tabGroup addPage: aSystemWindow configureForEmbedding label: (self tabLabelFor: aSystemWindow); selectedPageIndex: self tabGroup pages size. self isActive ifFalse: [self tabGroup selectedTab passivate]. self tabGroup selectedTab on: #startDrag send: #dragTab:event:in: to: self withValue: aSystemWindow dragTab: aSystemWindow event: anEvent in: aTabLabel "Drag a tab. Remove the window from the organiser and place in hand." self removeWindow: aSystemWindow. anEvent hand grabMorph: aSystemWindow Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Another thought, subclass from Morph instead of DockingBarMorph (if that's what you've done) to make it more generally usable in other compositions. Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Sorry, couldn't resist... Please use this EmbeddedWindowTweaks instead (not considered embedded if held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.). Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:42 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Sorry, couldn't resist...
ah ah ha the real truth is that when I wrote the first mail I suspected you would not resist to do it :D SuperGary always here ! Please use this EmbeddedWindowTweaks instead (not considered embedded if
held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.).
this evening or tomorrow I will produce a slice for Pharo Core with all your changesets. Thank you. Laurent
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 11:42 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows.
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 11:02 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Small fix attached for issues when a SystemWindows has no label (as when embedded etc.)
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 7:52 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Hi Gary,
I've played a little and changed:
DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru'
(sorry, I feel stupid, I don't know how to make a changeset, need to look at this :)
So I can open a sort of docking panel: (see attached screenshot)
WindowOrganiser new openInWorld; height:200; adhereToBottom.
That means we can have docking panels like the IDEs Java students use :)
Moreover TWM tile windows only in clear area, so all this play nicely together.
I wonder what's the best way to package all this. In Polymorph ?
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 Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 2:12 PM *Subject:* Re: [Pharo-project] Tab widget improvements
On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Something to get you started... ;-0
aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Laurent
WindowOrganiser new open
Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...".
Plenty of evilness left to sort out with it, naturally. Have fun!
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 10:03 AM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Laurent.
Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again.
For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner:
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Wednesday, June 08, 2011 5:20 PM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Gary,
I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :)
Create a SystemWindow subclass: #TabbedWindow (or better name).
In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab.
So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com
wrote:
For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached.
MultiWorkspaceWindow new open
Use the window menu to add workspaces, otherwise works like a workspace for the selected tab.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" < gazzaguru2@btinternet.com>
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM
Subject: Re: [Pharo-project] Tab widget improvements
Lol
Regards, Gary
----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements
You know my soft spot :)
Doru
On 8 Jun 2011, at 16:04, Gary Chambers wrote:
I expect Doru will want it in 1.3 for Moose ;-)
Regards, Gary
----- Original Message ----- From: "Marcus Denker" < marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements
On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:
Attached, some improvements to the TabGroupMorph etc. having had
feedback from Doru.
Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one).
Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons.
Do we put that in 1.3 or 1.4?
http://code.google.com/p/pharo/issues/list?thanks=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com
"Live like you mean it."
Ok. Last batch plus whole of my current organiser (will want factoring out into a Morph subclass rather than window). ;-) I've added a WindowLabelled announcement along with test. Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 12:51 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Sorry, couldn't resist... ah ah ha the real truth is that when I wrote the first mail I suspected you would not resist to do it :D SuperGary always here ! Please use this EmbeddedWindowTweaks instead (not considered embedded if held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.). this evening or tomorrow I will produce a slice for Pharo Core with all your changesets. Thank you. Laurent Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:42 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring. Also, probably an idea to use announcements for tab switching at some point. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 2:13 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Ok. Last batch plus whole of my current organiser (will want factoring out into a Morph subclass rather than window). ;-) I've added a WindowLabelled announcement along with test. Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 12:51 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Sorry, couldn't resist... ah ah ha the real truth is that when I wrote the first mail I suspected you would not resist to do it :D SuperGary always here ! Please use this EmbeddedWindowTweaks instead (not considered embedded if held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.). this evening or tomorrow I will produce a slice for Pharo Core with all your changesets. Thank you. Laurent Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:42 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring.
please please please all these elements should get lean and clean.
For the brave, attached script (no chance of working with a filed out changeset as order is important). Refactors TopWindow on SystemWindow to currentWindow on WorldState, along with many other simplifications. The upshot is that there are far fewer direct class references and should help somewhat with multiple worlds, though a few menu options refer to SystemWindow class still (further work required there). Propbably best to close all windows after filing in. Just a start on the refactoring but this is something best done in small steps. Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, June 10, 2011 4:05 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring.
please please please all these elements should get lean and clean.
gary we can either push it in 1.3 or wait a bit and push it when we open 1.4. What would you prefer? Marcus prefer that we do not generate more bugs now that we are closing 1.3 I do not know what is the impact of your so let us know. Stef On Jun 13, 2011, at 5:04 PM, Gary Chambers wrote:
For the brave, attached script (no chance of working with a filed out changeset as order is important).
Refactors TopWindow on SystemWindow to currentWindow on WorldState, along with many other simplifications.
The upshot is that there are far fewer direct class references and should help somewhat with multiple worlds, though a few menu options refer to SystemWindow class still (further work required there).
Propbably best to close all windows after filing in.
Just a start on the refactoring but this is something best done in small steps.
Regards, Gary
----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, June 10, 2011 4:05 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring.
please please please all these elements should get lean and clean.
<TopWindowRefactoring.st>
Early 1.4 is ok as long as not too much changes between now and then. Sent from my iPhone On 13 Jun 2011, at 17:00, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
gary
we can either push it in 1.3 or wait a bit and push it when we open 1.4. What would you prefer? Marcus prefer that we do not generate more bugs now that we are closing 1.3 I do not know what is the impact of your so let us know.
Stef
On Jun 13, 2011, at 5:04 PM, Gary Chambers wrote:
For the brave, attached script (no chance of working with a filed out changeset as order is important).
Refactors TopWindow on SystemWindow to currentWindow on WorldState, along with many other simplifications.
The upshot is that there are far fewer direct class references and should help somewhat with multiple worlds, though a few menu options refer to SystemWindow class still (further work required there).
Propbably best to close all windows after filing in.
Just a start on the refactoring but this is something best done in small steps.
Regards, Gary
----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, June 10, 2011 4:05 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring.
please please please all these elements should get lean and clean.
<TopWindowRefactoring.st>
Apologies, don't use the last WindowOrganiser.st. Will need some work 9passivating embedded window on tab change). Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 3:24 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring. Also, probably an idea to use announcements for tab switching at some point. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 2:13 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Ok. Last batch plus whole of my current organiser (will want factoring out into a Morph subclass rather than window). ;-) I've added a WindowLabelled announcement along with test. Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 12:51 PM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Sorry, couldn't resist... ah ah ha the real truth is that when I wrote the first mail I suspected you would not resist to do it :D SuperGary always here ! Please use this EmbeddedWindowTweaks instead (not considered embedded if held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.). this evening or tomorrow I will produce a slice for Pharo Core with all your changesets. Thank you. Laurent Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:42 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows. Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Small fix attached for issues when a SystemWindows has no label (as when embedded etc.) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements) Hi Gary, I've played a little and changed: DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru' (sorry, I feel stupid, I don't know how to make a changeset, need to look at this :) So I can open a sort of docking panel: (see attached screenshot) WindowOrganiser new openInWorld; height:200; adhereToBottom. That means we can have docking panels like the IDEs Java students use :) Moreover TWM tile windows only in clear area, so all this play nicely together. I wonder what's the best way to package all this. In Polymorph ? Laurent Laffont - @lolgzs Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached) Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0 aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Laurent WindowOrganiser new open Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...". Plenty of evilness left to sort out with it, naturally. Have fun! Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements Hi Laurent. Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again. For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner: Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements Hi Gary, I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :) Create a SystemWindow subclass: #TabbedWindow (or better name). In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab. So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50. Is it hard ? Idea how to do this ? Laurent. On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached. MultiWorkspaceWindow new open Use the window menu to add workspaces, otherwise works like a workspace for the selected tab. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM Subject: Re: [Pharo-project] Tab widget improvements Lol Regards, Gary ----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements You know my soft spot :) Doru On 8 Jun 2011, at 16:04, Gary Chambers wrote: I expect Doru will want it in 1.3 for Moose ;-) Regards, Gary ----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote: Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru. Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one). Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons. Do we put that in 1.3 or 1.4? http://code.google.com/p/pharo/issues/list?thanks=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. -- www.tudorgirba.com "Live like you mean it."
I've packaged all but WindowsOrganiser in http://code.google.com/p/pharo/issues/detail?id=4391 Laurent. On Fri, Jun 10, 2011 at 5:17 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Apologies, don't use the last WindowOrganiser.st. Will need some work 9passivating embedded window on tab change).
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 3:24 PM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Evidently not last... Workaround for embedded windows to remember keyboard focus. Really the whole active/passivate thing for windows needs a good cleanup and refactoring. Also, probably an idea to use announcements for tab switching at some point.
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 2:13 PM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Ok. Last batch plus whole of my current organiser (will want factoring out into a Morph subclass rather than window). ;-)
I've added a WindowLabelled announcement along with test.
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 12:51 PM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Sorry, couldn't resist...
ah ah ha the real truth is that when I wrote the first mail I suspected you would not resist to do it :D SuperGary always here !
Please use this EmbeddedWindowTweaks instead (not considered embedded if
held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.).
this evening or tomorrow I will produce a slice for Pharo Core with all your changesets.
Thank you.
Laurent
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 11:42 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows.
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 11:02 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Small fix attached for issues when a SystemWindows has no label (as when embedded etc.)
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Friday, June 10, 2011 7:52 AM *Subject:* Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Hi Gary,
I've played a little and changed:
DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru'
(sorry, I feel stupid, I don't know how to make a changeset, need to look at this :)
So I can open a sort of docking panel: (see attached screenshot)
WindowOrganiser new openInWorld; height:200; adhereToBottom.
That means we can have docking panels like the IDEs Java students use :)
Moreover TWM tile windows only in clear area, so all this play nicely together.
I wonder what's the best way to package all this. In Polymorph ?
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 Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com>wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 2:12 PM *Subject:* Re: [Pharo-project] Tab widget improvements
On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com
wrote:
Something to get you started... ;-0
aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Laurent
WindowOrganiser new open
Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...".
Plenty of evilness left to sort out with it, naturally. Have fun!
Regards, Gary
----- Original Message ----- *From:* Gary Chambers <gazzaguru2@btinternet.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Thursday, June 09, 2011 10:03 AM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Laurent.
Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again.
For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner:
Regards, Gary
----- Original Message ----- *From:* laurent laffont <laurent.laffont@gmail.com> *To:* Pharo-project@lists.gforge.inria.fr *Sent:* Wednesday, June 08, 2011 5:20 PM *Subject:* Re: [Pharo-project] Tab widget improvements
Hi Gary,
I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :)
Create a SystemWindow subclass: #TabbedWindow (or better name).
In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab.
So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers < gazzaguru2@btinternet.com> wrote:
For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached.
MultiWorkspaceWindow new open
Use the window menu to add workspaces, otherwise works like a workspace for the selected tab.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" < gazzaguru2@btinternet.com>
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM
Subject: Re: [Pharo-project] Tab widget improvements
Lol
Regards, Gary
----- Original Message ----- From: "Tudor Girba" < tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements
You know my soft spot :)
Doru
On 8 Jun 2011, at 16:04, Gary Chambers wrote:
I expect Doru will want it in 1.3 for Moose ;-)
Regards, Gary
----- Original Message ----- From: "Marcus Denker" < marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements
On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:
Attached, some improvements to the TabGroupMorph etc. having had
feedback from Doru.
Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one).
Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons.
Do we put that in 1.3 or 1.4?
http://code.google.com/p/pharo/issues/list?thanks=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com
"Live like you mean it."
On Jun 10, 2011, at 1:17 PM, Gary Chambers wrote:
Sorry, couldn't resist...
we see........ :)
Please use this EmbeddedWindowTweaks instead (not considered embedded if held in hand). Reworked isActive for SystemWindows to give owner a chance to decide (embedded windows can now be active and have correct selection colours etc.).
Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:42 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Last fix for now. Tweaked SystemWindow>>labelHeight when embedded. Use square corners for embedded windows.
Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 11:02 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Small fix attached for issues when a SystemWindows has no label (as when embedded etc.)
Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Friday, June 10, 2011 7:52 AM Subject: Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
Hi Gary,
I've played a little and changed:
DockingBarMorph subclass: #WindowOrganiser uses: TEasilyThemed instanceVariableNames: 'tabGroup' classVariableNames: '' poolDictionaries: '' category: 'Guru'
(sorry, I feel stupid, I don't know how to make a changeset, need to look at this :)
So I can open a sort of docking panel: (see attached screenshot)
WindowOrganiser new openInWorld; height:200; adhereToBottom.
That means we can have docking panels like the IDEs Java students use :)
Moreover TWM tile windows only in clear area, so all this play nicely together.
I wonder what's the best way to package all this. In Polymorph ?
Laurent Laffont - @lolgzs
Pharo Smalltalk Screencasts: http://www.pharocasts.com/ Blog: http://magaloma.blogspot.com/ Developer group: http://cara74.seasidehosting.st
On Thu, Jun 9, 2011 at 3:33 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Even better when working more properly (attached)
Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:12 PM Subject: Re: [Pharo-project] Tab widget improvements
On Thu, Jun 9, 2011 at 3:01 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: Something to get you started... ;-0
aaaaargggggggg THAT'S SO DAMN COOOOOOOOOOOOOOOOOOL !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Laurent
WindowOrganiser new open
Optionally, via halo, turn on "Accept drops" for the window, else use the window menu to "Grab window...".
Plenty of evilness left to sort out with it, naturally. Have fun!
Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 10:03 AM Subject: Re: [Pharo-project] Tab widget improvements
Hi Laurent.
Sounds like a cool idea and is possible. You'd likely need to modify SystemWindow somewhat to deal with being within a tab (remove grips, forward label changes to the tab, handle activation (TopWindow stuff might be tricky) etc.). You'd also want an option (perhaps a button in the tab label) to break the window out again.
For some of this you could get some ideas from StandardWindow with respect to fullscreen, #noteNewOwner:
Regards, Gary ----- Original Message ----- From: laurent laffont To: Pharo-project@lists.gforge.inria.fr Sent: Wednesday, June 08, 2011 5:20 PM Subject: Re: [Pharo-project] Tab widget improvements
Hi Gary,
I wanted to try what follows while coding TWM, maybe with your magic super powers its easy :)
Create a SystemWindow subclass: #TabbedWindow (or better name).
In this window's menu there's the list of all other SystemWindows. When you click on it, the window goes as tab.
So I can group several windows in a tabbed container. Like the group windows feature of KDE. See http://blip.tv/sebastian-kgler/window-managing-features-in-kde-plasma-4-4-31... at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2@btinternet.com> wrote: For another example, just a quickly hacked together (i.e. quick and dirty) multi workspace thing attached.
MultiWorkspaceWindow new open
Use the window menu to add workspaces, otherwise works like a workspace for the selected tab.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com>
To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:26 PM
Subject: Re: [Pharo-project] Tab widget improvements
Lol
Regards, Gary
----- Original Message ----- From: "Tudor Girba" <tudor@tudorgirba.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:19 PM Subject: Re: [Pharo-project] Tab widget improvements
You know my soft spot :)
Doru
On 8 Jun 2011, at 16:04, Gary Chambers wrote:
I expect Doru will want it in 1.3 for Moose ;-)
Regards, Gary
----- Original Message ----- From: "Marcus Denker" <marcus.denker@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 3:00 PM Subject: Re: [Pharo-project] Tab widget improvements
On Jun 8, 2011, at 3:55 PM, Gary Chambers wrote:
Attached, some improvements to the TabGroupMorph etc. having had feedback from Doru.
Provides scrolling buttons when insufficient room for all tabs and displays only tabs for which there is room! (excepting at least one).
Can optionally set wrapScrolling on the TabSelectorMorph to allow wraparound scrolling via the buttons.
Do we put that in 1.3 or 1.4?
http://code.google.com/p/pharo/issues/list?thanks=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com
"Live like you mean it."
<EmbeddedWindowTweaks.2.cs><WindowActiveRefactoring.1.cs>
participants (4)
-
Gary Chambers -
Henrik Sperre Johansen -
laurent laffont -
Stéphane Ducasse