Re: [Pharo-users] Simple question about Spec

2016-02-09 Thread Julien Delplanque
Indeed, it should be implemented the same way as #minimize and #maximize. Julien On 09/02/16 09:04, Nicolai Hess wrote: 2016-02-04 8:17 GMT+01:00 stepharo : I do not like the API :) Hi Steph, Julien, Iooked at the fix for this issue. Implementing #activate on WindowModel and delegate to se

Re: [Pharo-users] Simple question about Spec

2016-02-09 Thread Nicolai Hess
2016-02-04 8:17 GMT+01:00 stepharo : > I do not like the API :) > Hi Steph, Julien, Iooked at the fix for this issue. Implementing #activate on WindowModel and delegate to self window of course works. But I am unsure if we want to do it that way, because messages like #maximize #minimize are imp

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Ben Coman
On Fri, Feb 5, 2016 at 12:02 AM, Johan Fabry wrote: > >> On Feb 4, 2016, at 11:26, Sven Van Caekenberghe wrote: >> >>> >>> On 04 Feb 2016, at 15:21, Johan Fabry wrote: >>> >>> >>> Yes, please do that! I would do it myself but I’m on holiday this month and >>> not allowed to touch the computer m

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Johan Fabry
> On Feb 4, 2016, at 11:26, Sven Van Caekenberghe wrote: > >> >> On 04 Feb 2016, at 15:21, Johan Fabry wrote: >> >> >> Yes, please do that! I would do it myself but I’m on holiday this month and >> not allowed to touch the computer much ;-) > > And still you somehow managed to type this me

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Julien Delplanque
Ok, its done here [1], I hope I followed the procedure correctly. :) Julien [1]: https://pharo.fogbugz.com/f/cases/17528/Missing-activate-message-in-WindowModel On 04/02/16 15:26, Sven Van Caekenberghe wrote: On 04 Feb 2016, at 15:21, Johan Fabry wrote: Yes, please do that! I would do it

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Julien Delplanque
Ok, it will be a good occasion to learn the contribution process *shame on me*. Julien On 04/02/16 13:10, Stephan Eggermont wrote: On 04-02-16 08:28, Julien Delplanque wrote: To match my needs, I simply added an extension to WindowModel with the message #activate. Just create an issue and f

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Sven Van Caekenberghe
> On 04 Feb 2016, at 15:21, Johan Fabry wrote: > > > Yes, please do that! I would do it myself but I’m on holiday this month and > not allowed to touch the computer much ;-) And still you somehow managed to type this message ;-) >> On Feb 4, 2016, at 09:10, Stephan Eggermont wrote: >> >> O

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Johan Fabry
Yes, please do that! I would do it myself but I’m on holiday this month and not allowed to touch the computer much ;-) > On Feb 4, 2016, at 09:10, Stephan Eggermont wrote: > > On 04-02-16 08:28, Julien Delplanque wrote: >> To match my needs, I simply added an extension to WindowModel with the

Re: [Pharo-users] Simple question about Spec

2016-02-04 Thread Stephan Eggermont
On 04-02-16 08:28, Julien Delplanque wrote: To match my needs, I simply added an extension to WindowModel with the message #activate. Just create an issue and fix it in place and put a slice in the inbox. You will not be the only one needing it. Stephan

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
To match my needs, I simply added an extension to WindowModel with the message #activate. So I do not need to do "myWidget window window activate". Julien On 04/02/16 08:17, stepharo wrote: I do not like the API :) Le 3/2/16 13:35, Julien Delplanque a écrit : Ok I found how to do it: myWi

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread stepharo
I do not like the API :) Le 3/2/16 13:35, Julien Delplanque a écrit : Ok I found how to do it: myWidget window window activate. Some observations: "myWidget window" gives a WindowModel which inherits from AbstractWidgetModel and does not have #activate message. "myWidget window window" gives

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
Ok I found how to do it: myWidget window window activate. Some observations: "myWidget window" gives a WindowModel which inherits from AbstractWidgetModel and does not have #activate message. "myWidget window window" gives a SpecWindow which inherits from StandardWindow, a morph. Thanks a lo

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 13:14, Stephan Eggermont wrote: On 03-02-16 12:59, Julien Delplanque wrote: I looked at WindowModel and, because of your mail, also at WorldModel but I still do not find how to put the window on top of all the others... There is openWorldWithSpec as used in PharoLauncher. A

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Stephan Eggermont
On 03-02-16 12:59, Julien Delplanque wrote: I looked at WindowModel and, because of your mail, also at WorldModel but I still do not find how to put the window on top of all the others... There is openWorldWithSpec as used in PharoLauncher. Are you looking for a (modal) dialog or building

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Sven Van Caekenberghe
window activate ? > On 03 Feb 2016, at 13:03, Julien Delplanque wrote: > > > On 03/02/16 12:33, Stephan Eggermont wrote: >> On 03-02-16 12:14, Julien Delplanque wrote: >>> Hello, >>> >>> I can't find the answer by browsing classes comments nor methods so I >>> ask the question here :). >>> >

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 12:33, Stephan Eggermont wrote: On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? I'm not sure

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
On 03/02/16 12:33, Stephan Eggermont wrote: On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? I'm not sure

Re: [Pharo-users] Simple question about Spec

2016-02-03 Thread Stephan Eggermont
On 03-02-16 12:14, Julien Delplanque wrote: Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? I'm not sure where you are looking for, but did you look at

[Pharo-users] Simple question about Spec

2016-02-03 Thread Julien Delplanque
Hello, I can't find the answer by browsing classes comments nor methods so I ask the question here :). Is it possible to put a WindowModel on top of all other windows opened? If it is, how? Thanks in advance, Julien