Re: [Pharo-users] GTPlayground status: open or close

2016-08-30 Thread Federico.Balaguer
Hello Andrei, Thanks for your kind reply. What I needed was close to your first example code. Thanks a lot! Federico -- View this message in context: http://forum.world.st/GTPlayground-status-open-or-close-tp4913257p4913285.html Sent from the Pharo Smalltalk Users mailing list archive at Nab

Re: [Pharo-users] GTPlayground status: open or close

2016-08-30 Thread Andrei Chis
Hi Frederico, Do you want to verify that a particular instance of GTPlayground is opened or if there is just any GTPlayground opened in the current image? For the first case a playground knows it's window. So you can check if there is a window and the window is in the world: aPlayground window i

[Pharo-users] GTPlayground status: open or close

2016-08-30 Thread Federico.Balaguer
Hello, BotArena is a tool for teaching objects that we are using in my University. The tool allow students to enter Smalltalk expressions using an instance of GTPlayground. There is a "reset" scenario where BotArena needs to know if there is a Playground open so it does refresh bindings to given