Last updated at 4:52 pm UTC on 26 December 2016
UserInterfaceTheme was introduced in Squeak 5.1
Auto enclose brackets (Preferences)
The Preferences window in Squeak lets you adjust the settings of many preferences.
In Squeak4.5-13352, access the preference browser from the Tools Menu on the Docking Bar. The help button provides instructions on how to use it. The screen shot shows the menu and the browser after it is opened, along with the help window, a selected preference and its more popup window. If you want to experiment with the settings, use the "save to disk" button first in order to restore the settings later, if necessary.
In older versions of Squeak (circa 3.x?) window can be opened in various ways. For example
The preferences window looks as follows:
There are various panes:
These panes group together related preferences to make some order. The sole exception is the ? pane. There are buttons which enable you to save and restore current preferences to/from a file.
For example, if you prefer to have your scrollbars appear fixed in place and on the right side of the window pane (as with many other user interfaces), go to the "scrolling" category of the Preferences window and turn on the inboardScrollBars and scrollBarsOnRight checkboxes.
If you know the name (or part of the name) of your preference, but you don't know which category it's in, type the name into the Search field after opening the Preferences window, and hit Search.
Browse the class "Preferences" for information on how to create your own preferences.
Question: Alexandre Bergel April 22, 2004 There is no method such as
Preferences Class>>hasPreferenceNamed: aName
Object>>respondsTo: could instead be used, but humm... I think that such a method should be there.
Answer: Scott Wallace Implementation of such a method would be easy (one could invoke #valueOfFlag:ifAbsent: within it, for example.) But what's an example of a situation where one would need such a method? Perhaps the potential callers of #hasPreferenceNamed: are already better served by directly calling the existing #valueOfFlag:ifAbsent:?
How to lockdown an image for release for examples of setting Preferences programmatically.