Hi,
As you might know in 3.8 there will be changes to Squeak Preference core classes and new ones will be added. With Stephane we were thinking where to put them and we would like to know your opinion.
These are the categories we would like to use:
System-Support, for the Preference core model classes (this classes are already there in 3.7)
System-Preference-UI, for the UI core classes and the legacy PreferencesPanel implementation.
System-Preference-Browser, for the new PreferenceBrowser implementation.
What do you think?
Thanks,
Regards, Hernán
On 28/09/04 12:27, "Hernan Tylim" htylim@yahoo.com.ar wrote:
Hi,
As you might know in 3.8 there will be changes to Squeak Preference core classes and new ones will be added. With Stephane we were thinking where to put them and we would like to know your opinion.
These are the categories we would like to use:
System-Support, for the Preference core model classes (this classes are already there in 3.7)
System-Preference-UI, for the UI core classes and the legacy PreferencesPanel implementation.
System-Preference-Browser, for the new PreferenceBrowser implementation.
What do you think?
Thanks,
Regards, Hernán
Hernan: I think PreferencesBrowser is a welcome tool. I manage to combine all your .cs and load in Squeak3.8a-6271.image. What I miss: A mechanism for add new preferences. I wish add Fonts preferences.
Edgar
Hernan: I think PreferencesBrowser is a welcome tool. I manage to combine all your .cs and load in Squeak3.8a-6271.image. What I miss: A mechanism for add new preferences. I wish add Fonts preferences.
Hi Edgard,
To add a preference you need to use one of the many methods in Preferences class. (Go to the class side and choose the add preferences category)
For example you can do:
Preferences addBooleanPreference: #aBoolPreference category: #hernan defaultValue: false helpString:'this is a help string'.
To get its value:
Preferences valueOfPreference: #aBoolPreference
For Font preferences is the same mechanism but you should know that it is not yet done the support at the Browser level (only its view implementation is lacking). But this is something that it will be definitely coming soon.
My to do list is approximately this: 1. finalize the changes to the squeak core. 2. add preferences for proxy and smtp settings 3. add preferences to set up the squeaks fonts 4. add preferences to set up the selection and keyboard focus color. 5. add preferences to set up the windows colors
Regards, Hernan
squeak-dev@lists.squeakfoundation.org