Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
June 2011
- 110 participants
- 1097 messages
Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
by Gary Chambers
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(a)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(a)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(a)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(a)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(a)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(a)btinternet.com> wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message -----
From: laurent laffont
To: Pharo-project(a)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(a)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(a)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(a)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-3… at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2(a)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(a)btinternet.com>
To: <Pharo-project(a)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(a)tudorgirba.com>
To: <Pharo-project(a)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(a)inria.fr>
To: <Pharo-project(a)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."
June 10, 2011
Re: [Pharo-project] merging images?
by Lukas Renggli
The class BitBlt by Dan Ingalls does this.
Lukas
On 10 June 2011 14:41, Esteban Lorenzano <estebanlm(a)gmail.com> wrote:
> Hi,
> I wonder if there is a way to merge two Form objects into a new one?
> I'm trying to add "status" to some icons, something like "filter active" an icon with a mark, "filter inactive", another mark.
> Of course, I can create two different icons, but I thought "it would be nice to have this as a general functionality" :)
>
> Cheers,
> Esteban
>
--
Lukas Renggli
www.lukas-renggli.ch
June 10, 2011
[Pharo-project] #currentVersion is wrong?
by Mariano Martinez Peck
Hi Dale. If I took the latest Pharo 1.3 from hudson:
https://pharo-ic.lille.inria.fr/hudson/view/Pharo/job/Pharo%201.3/214/
and I print
ConfigurationOfPharo project currentVersion
I get ->>>>> >=1.2.2 [ConfigurationOfPharo]
But in fact, that's not true. It should be 1.3-beta2 [ConfigurationOfPharo]
I've checked and the real version loaded is 1.3-beta2 so I think it is a
problem of #currentVersion.
Thanks
--
Mariano
http://marianopeck.wordpress.com
June 10, 2011
[Pharo-project] merging images?
by Esteban Lorenzano
Hi,
I wonder if there is a way to merge two Form objects into a new one?
I'm trying to add "status" to some icons, something like "filter active" an icon with a mark, "filter inactive", another mark.
Of course, I can create two different icons, but I thought "it would be nice to have this as a general functionality" :)
Cheers,
Esteban
June 10, 2011
Re: [Pharo-project] OCompletion is broken in 1.3
by Mariano Martinez Peck
THanks ben for all your help. It is fixed now.
On Fri, Jun 10, 2011 at 12:22 PM, Benjamin <
benjamin.vanryseghem.pharo(a)gmail.com> wrote:
> In fact, I have posted two things:
> - a little improvement in OCompletion (not related to the bug)
> - then I take a look at OCompletionPharoCompatibility, but I have done a
> mistake because the package is OcompletionPharoCompatibility (with a minus
> "c")
>
>
> So finally, the only thing I have done to fix the bug is to change the
> ConfigurationOfOCompletion which now call a post load method to reset the
> default toolset and take in account the registry method.
>
> I hope I haven't done too many stupid things :)
>
>
> Ben
>
> On Jun 10, 2011, at 12:05 PM, Mariano Martinez Peck wrote:
>
> so...I saw you commit in OCompletion and then rollback the pharo-ish part.
> So..can that be put instead to OCompletionPharoCompatibilty and we are done?
> then we update ConfigurationOfOCompletion and we fix it :)
>
> On Fri, Jun 10, 2011 at 11:59 AM, Mariano Martinez Peck <
> marianopeck(a)gmail.com> wrote:
>
>>
>>
>> On Thu, Jun 9, 2011 at 12:45 PM, Benjamin Van Ryseghem <
>> benjamin.vanryseghem.pharo(a)gmail.com> wrote:
>>
>>> It's fixed, I am looking where to post the fix :)
>>
>>
>> Thanks!!!!!!!!!!!!!
>>
>> Put it somewhere please :)
>>
>> OCompletionPharoCompatibilty is not enough? you have commit rights
>> there....
>>
>>
>>>
>>> Ben
>>>
>>> 2011/6/9 Benjamin Van Ryseghem <benjamin.vanryseghem.pharo(a)gmail.com>
>>>
>>>> It comes from Toolset change.
>>>>
>>>> OCompletion should be registered as a Completion tool (but I do not
>>>> remember the magic formula ^^)
>>>>
>>>>
>>>> Ben
>>>>
>>>>
>>>> 2011/6/9 Marcus Denker <marcus.denker(a)inria.fr>
>>>>
>>>>>
>>>>> On Jun 9, 2011, at 12:21 PM, Benjamin Van Ryseghem wrote:
>>>>>
>>>>> > It happened between 13217 and 13234 ...
>>>>> >
>>>>> > Maybe the Paragraph changes ?
>>>>> >
>>>>>
>>>>> The Dev vs. Core is killing us. We need *one* image. We should really
>>>>> try to do that with 1.4, it will
>>>>> make everything simpler and easier to manage.
>>>>>
>>>>> Marcus
>>>>>
>>>>> --
>>>>> Marcus Denker -- http://www.marcusdenker.de
>>>>> INRIA Lille -- Nord Europe. Team RMoD.
>>>>>
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> --
>> Mariano
>> http://marianopeck.wordpress.com
>>
>>
>
>
> --
> Mariano
> http://marianopeck.wordpress.com
>
>
>
--
Mariano
http://marianopeck.wordpress.com
June 10, 2011
[Pharo-project] [update 1.3] #13258
by Marcus Denker
13258
-----
Issue 4375: TesRunner: DNU #index
http://code.google.com/p/pharo/issues/detail?id=4375
Issue 4380: Browse hierarchy from an inspector generates a DNU
http://code.google.com/p/pharo/issues/detail?id=4380
--
Marcus Denker -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.
June 10, 2011
Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
by laurent laffont
On Fri, Jun 10, 2011 at 1:17 PM, Gary Chambers <gazzaguru2(a)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(a)btinternet.com>
> *To:* Pharo-project(a)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(a)btinternet.com>
> *To:* Pharo-project(a)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(a)gmail.com>
> *To:* Pharo-project(a)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(a)btinternet.com>wrote:
>
>> Even better when working more properly (attached)
>>
>> Regards, Gary
>>
>> ----- Original Message -----
>> *From:* laurent laffont <laurent.laffont(a)gmail.com>
>> *To:* Pharo-project(a)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(a)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(a)btinternet.com>
>>> *To:* Pharo-project(a)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(a)gmail.com>
>>> *To:* Pharo-project(a)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-3… at
>>> 1'50.
>>>
>>> Is it hard ? Idea how to do this ?
>>>
>>> Laurent.
>>>
>>>
>>> On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2(a)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(a)btinternet.com>
>>>>
>>>> To: <Pharo-project(a)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(a)tudorgirba.com
>>>>> >
>>>>> To: <Pharo-project(a)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(a)inria.fr>
>>>>>> To: <Pharo-project(a)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."
>>>>>
>>>>>
>>>>>
>>>>>
>>>
>>
>
June 10, 2011
Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
by Gary Chambers
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(a)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(a)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(a)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(a)btinternet.com> wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message -----
From: laurent laffont
To: Pharo-project(a)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(a)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(a)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(a)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-3… at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2(a)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(a)btinternet.com>
To: <Pharo-project(a)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(a)tudorgirba.com>
To: <Pharo-project(a)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(a)inria.fr>
To: <Pharo-project(a)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."
June 10, 2011
Re: [Pharo-project] WindowOrganiser (was: Tab widget improvements)
by Gary Chambers
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(a)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(a)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(a)btinternet.com> wrote:
Even better when working more properly (attached)
Regards, Gary
----- Original Message -----
From: laurent laffont
To: Pharo-project(a)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(a)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(a)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(a)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-3… at 1'50.
Is it hard ? Idea how to do this ?
Laurent.
On Wed, Jun 8, 2011 at 4:57 PM, Gary Chambers <gazzaguru2(a)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(a)btinternet.com>
To: <Pharo-project(a)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(a)tudorgirba.com>
To: <Pharo-project(a)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(a)inria.fr>
To: <Pharo-project(a)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."
June 10, 2011
Re: [Pharo-project] Tab widget improvements
by Gary Chambers
Fix for activate/passivate for (currently) non-visible tabs.
Regards, Gary
----- Original Message -----
From: "Gary Chambers" <gazzaguru2(a)btinternet.com>
To: <Pharo-project(a)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(a)btinternet.com>
> To: <Pharo-project(a)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(a)inria.fr>
>> To: <Pharo-project(a)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.
>>>
>>>
>>
>>
>
June 10, 2011