[Cuis-dev] The Preference model

Hilaire Fernandes hilaire at drgeo.eu
Wed Apr 27 05:09:37 PDT 2022


Le 27/04/2022 à 08:38, Luciano Notarfrancesco via Cuis-dev a écrit :
>
>     To overcome the limitation of Preference mode, we could have
>     subclasses of Preference, each specialized in one form of
>     preference model: list, free text, closure, boolean, integer,
>     integer in an interval, color, etc. Each one could be then
>     extended in a third party package with the appropriate widget to
>     edit its content.
>
> I agree with Mariano that a Symbol for the type should be enough, I’d 
> prefer to make it as simple as possible without creating lots of new 
> clases.
One symbol will help for preferences depending only on one value 
(boolean, string, closure). But when the value should be picked up in a 
list (as it is the case for the ScreenSize element) it will not be enough.

Hilaire

-- 
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/20220427/e6aed92a/attachment.htm>


More information about the Cuis-dev mailing list