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.
On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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/detail?id=4376 -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
Please put it in 1.3. Cheers, Doru On 8 Jun 2011, at 16:01, Marcus Denker wrote:
On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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/detail?id=4376
-- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD.
-- www.tudorgirba.com "We are all great at making mistakes."
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.
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."
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."
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."
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."
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."
Something to get you started... ;-0 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 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."
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."
Naturally, don't try to grab the organiser itself... ;-) Regards, Gary ----- Original Message ----- From: Gary Chambers To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, June 09, 2011 2:33 PM Subject: Re: [Pharo-project] Tab widget improvements 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."
in 1.3 Stef On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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.
Small fix for index out of range when pages are deleted in some circumstances... Regards, Gary ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 5:58 PM Subject: Re: [Pharo-project] Tab widget improvements in 1.3 Stef On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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.
Fix for tab group page contents "jumping around" slightly. Beware if using Morph>>replaceSubmorph:by: It uses #referencePositionInWorld which, in turn, eventually uses #rotationCenter (typically 0.5 @ 0.5). This was causing the replacement page to be mis-aligned depending on the previous page causing positional movement when moving back and forth between tabs. Changed to remove old page and add new instead. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Thursday, June 09, 2011 2:34 PM Subject: Re: [Pharo-project] Tab widget improvements
Small fix for index out of range when pages are deleted in some circumstances...
Regards, Gary
----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 5:58 PM Subject: Re: [Pharo-project] Tab widget improvements
in 1.3
Stef
On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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.
Fix for activate/passivate for (currently) non-visible tabs. Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Friday, June 10, 2011 11:07 AM Subject: Re: [Pharo-project] Tab widget improvements
Fix for tab group page contents "jumping around" slightly.
Beware if using Morph>>replaceSubmorph:by: It uses #referencePositionInWorld which, in turn, eventually uses #rotationCenter (typically 0.5 @ 0.5). This was causing the replacement page to be mis-aligned depending on the previous page causing positional movement when moving back and forth between tabs.
Changed to remove old page and add new instead.
Regards, Gary
----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Thursday, June 09, 2011 2:34 PM Subject: Re: [Pharo-project] Tab widget improvements
Small fix for index out of range when pages are deleted in some circumstances...
Regards, Gary
----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: <Pharo-project@lists.gforge.inria.fr> Sent: Wednesday, June 08, 2011 5:58 PM Subject: Re: [Pharo-project] Tab widget improvements
in 1.3
Stef
On Jun 8, 2011, at 4:00 PM, Marcus Denker wrote:
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.
participants (5)
-
Gary Chambers -
laurent laffont -
Marcus Denker -
Stéphane Ducasse -
Tudor Girba