[Pharo-users] Scrollbar in Spec layout

2016-02-03 Thread LE Xuan Sang
Hello, I use Spec (Pharo 4) to develop my GUI application. In my Spec layout, one of the columns has a large amount of rows (dynamic content indeed). So i need it to be scrollable. Does anyone knows how to add a scrollbar to that column? Thanks, LE Sang

Re: [Pharo-users] Scrollbar in Spec layout

2016-02-03 Thread Ben Coman
On Wed, Feb 3, 2016 at 4:45 PM, LE Xuan Sang wrote: > Hello, > > I use Spec (Pharo 4) to develop my GUI application. In my Spec layout, one > of the columns has a large amount of rows (dynamic content indeed). So i need > it to be scrollable. Does anyone knows how to add a scrollbar to that col

Re: [Pharo-users] Pharo and OpenMP

2016-02-03 Thread kilon.alios
Thanks for posting the link to the original post , I tried to find it but I failed. On the matter why people did not reply is probably because the idea is too "vague" and very "theoretical" and probably because the post is long. Just for the record I have since dismissed as an idea both the C-i

[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

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

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 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 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 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 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] Scrollbar in Spec layout

2016-02-03 Thread LE Xuan Sang
Hello, Here goes an example snapshot of my problem. Cheer, Sang MultiRowInColumn.st Description: Binary data > Date: Wed, 3 Feb 2016 16:59:01 +0800 > From: Ben Coman > To: Any question about pharo is welcome > Subject: Re: [Pharo-users] Scrollbar in Spec layout > Message-ID: > > Con

[Pharo-users] an example of debugging with moldable tools

2016-02-03 Thread Tudor Girba
Hi, One thing we noticed over the past year since we introduced GT in Pharo is that people still tend to use these tools in a similar way classic tools were used. We think there is a more potential in these tools. To change this, we would like to collect stories of how using these tools enable

Re: [Pharo-users] [Moose-dev] an example of debugging with moldable tools

2016-02-03 Thread Serge Stinckwich
On Wed, Feb 3, 2016 at 2:53 PM, Tudor Girba wrote: > Hi, > > One thing we noticed over the past year since we introduced GT in Pharo is > that people still tend to use these tools in a similar way classic tools were > used. We think there is a more potential in these tools. > > To change this, w

[Pharo-users] Create type(class) dynamically

2016-02-03 Thread Khrystyna Mykhailiuk
Hi, all! Is it possible in Pharo to create a type (class) dynamically? Not using special space for it, but create type by running method of another class. Thanks, Khrystyna. -- View this message in context: http://forum.world.st/Create-type-class-dynamically-tp4875651.html Sent from the Phar

Re: [Pharo-users] Create type(class) dynamically

2016-02-03 Thread Julien Delplanque
Hi, You can create a class programatically using: ParentClass subclass: #ClassName instanceVariableNames: 'instVar1 instVar2' classVariableNames: '' category: 'APackage' Then you can add method using: ClassName compile: 'helloWorld ^''Hello world!''' for example. I don't know

Re: [Pharo-users] Create type(class) dynamically

2016-02-03 Thread Khrystyna Mykhailiuk
I was a little confused about it. But now I understand. Thank you very much. 2016-02-03 22:09 GMT+02:00 Julien Delplanque [via Smalltalk] < ml-node+s1294792n4875655...@n4.nabble.com>: > Hi, > > You can create a class programatically using: > > ParentClass subclass: #ClassName > instanceVaria

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
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

[Pharo-users] Another question about Spec

2016-02-03 Thread Julien Delplanque
Hey, I use drag and drop between two lists in a project and I read this tutorial [1] to learn how to do it. My question is: Is there a way to have another object than a String as passengers in #acceptDropBlock: (I get passengers the same way as in the tutorial i.e sending #passenger to trans