[Cuis-dev] Preferennce save/load and actionMap
Hilaire Fernandes
hilaire at drgeo.eu
Fri May 6 02:51:49 PDT 2022
Hi,
Here is the updated PreferencesNG class.
Side effects bonuses:
* mergeWith: method removed as this is what does now the loadFrom:
method
* when a preference in the image is updated with data from its
clone from disk, #value: message sent triggers the event, letting
the tools to update themself.
Observe it with the following:
PreferenceNG initialize. PreferenceNG at: #guiElementsSize put:
#smallFonts. PreferenceNG saveAllTo: '/tmp/pref' asFileEntry.
Then execute one line at a time:
PreferenceNG initialize.
PreferenceNG loadFrom: '/tmp/pref' asFileEntry.
Thanks
Hilaire
Le 06/05/2022 à 11:05, Hilaire Fernandes a écrit :
>
> I will do as your suggested, it will cover the current needs. We will
> see if future evolution is necessary.
>
--
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20220506/99c63d57/attachment.htm>
More information about the Cuis-dev
mailing list