Reputation: 103
Reading the book "The Spec UI framework". Trying to implement the part described in chapter "Taking over the entire screen".
After executing the code suggested in the book:
WindowExample new openWorldWithSpec
it seems to be impossible to return to previous state. Tried to delete the new WorldMorph in the inspector. Also tried with halos, as the book suggests but those buttons that are available in the halo menu don't allow it to be closed.
Is it an intended behaviour for this (to be executed to prepare an end-user environment and disable programming UI) or am I missing something?
Working in Pharo 5.0, Mac OS X version.
Upvotes: 2
Views: 105
Reputation: 801
You can actually get back to normal by:
In the evaluation pane, do:
self delete
World menu is available again.
Open a browser. Done.
If one disables halos in settings, this is a tad harder.
Upvotes: 0
Reputation: 15917
That is indeed intended behaviour, as part of making applications that do not allow access to the development environment anymore. But you can take a look at the code for PharoLauncher to see how you can enable a developer mode
Upvotes: 1