I was playing w/ my preferences file and wondered how to set the preferences in the script (grew tired of looking in settings prefs window).
So, I had a look in the Deep into Pharo book, page 70. "Now the question is how to find out that the desktop color setting is declared in PolymorphSystemSettings and that the DefaultFonts class allows fonts management? More generally where are all these settings declared and managed? The answer is quite simple: just use the Settings Browser! As explained in Section 5.2, cmd-b or double clicking on an item open a browser on the declaration of the current setting node. You can also use the contextual menu for that. Browsing the declaration will give you the target class (where the preference variable is stored) and the selector for the preference value." Ah double clicking on a pref gives the preferences settings class. How cool is that? As I also have my own preference classes, this whole settings framework is pretty good indeed! Phil
