<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 27/04/2022 à 08:38, Luciano
Notarfrancesco via Cuis-dev a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAL5GDyr+6JnA+BxuyRyqwnxH86a7AE1b-oFWiAN9XCqTy_+p0Q@mail.gmail.com">
<div class="moz-text-html" lang="x-unicode">
<div>
<div class="gmail_quote"><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)">
<div text="#000000" bgcolor="#FFFFFF">
<p dir="auto">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.</p>
</div>
</blockquote>
<div dir="auto"><span
style="border-color:rgb(0,0,0);color:rgb(0,0,0)">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. </span><br>
</div>
</div>
</div>
</div>
</blockquote>
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. <br>
<p>Hilaire<br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a>
<a class="moz-txt-link-freetext" href="http://blog.drgeo.eu">http://blog.drgeo.eu</a></pre>
</body>
</html>