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.
Are you looking for a (modal) dialog or building a custom application
with no pharo IDE? Spec does not have fine-grained control over layers,
for that you need the Morphic level, where you can say e.g.
setProperty: #morphicLayerNumber toValue: 18.
to be on top of normal windows.
Stephan
I am building a custom application. Ok, so I need to work at Morph level.
To retrieve the morph associated with the WindowModel, do I need to use
World submorphs and detect it or is there another way?
If I retrieve the SpecWindow, I can simply send #activate to put the
window to the top...
Julien