Preferences window 2004
Last updated at 8:35 am UTC on 10 May 2017
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:?