In the following picture, instead of doing the classical MessageBrowser new openWithSpec, and get a Morphic window inside the os window of Pharo
I do
MessageBrowser openWorldWithSpec
And here the message browser window *is* the system window.
Basically, it sticks the morph on the world, do some magic around, and voilà.
The cool part is that the rest of the code do not change at all, and still it opens a the good size, the title is properly updated etc
Ben
On May 14, 2013, at 10:28 PM, Tudor Girba <tudor@tudorgirba.com <mailto:tudor@tudorgirba.com>> wrote:
This sounds intriguing. Can you be more specific? :)
Doru
On May 14, 2013, at 10:23 PM, Benjamin <benjamin.vanryseghem.pharo@gmail.com > <mailto:benjamin.vanryseghem.pharo@gmail.com>> wrote:
Thank you :)
This fix goes with pair with
https://pharo.fogbugz.com/default.asp?10619
Thanks to Esteban, one can now deploy a Spec widget with the os window as >> window :)
Ben
On May 14, 2013, at 10:19 PM, stephane ducasse <stephane.ducasse@free.fr> wrote:
thanks esteban!
On May 14, 2013, at 9:54 PM, Esteban Lorenzano <estebanlm@gmail.com> wrote:
Hi,
I just pushed fix for a weird bug in cocoa cog vm.
It was crashing image when resizing using DisplayScreen>>#hostWindowSize: >>>> but even worst, some times was crashing also when dragging a window >>>> outside the world screen...
The fix is there, but you will need to wait until tomorrow to have it in >>>> zeroconf (because of weird mac jenkins slave permissions).
This increases a bit more the VM stability, still not perfect, but we are >>>> getting closer :)
Esteban
--
www.tudorgirba.com <http://www.tudorgirba.com>
"Presenting is storytelling."