On Fri, Nov 5, 2010 at 10:47, Mathieu Suen <mathieus...@yahoo.fr> wrote:
> 1)First question is wether to use a XML, ini .. file or a file containing 
> plain
> smalltalk code.

Either ini or smalltalk.  In the latter case there is already "~/.st/init.st".

Paolo

> Proposition 2: Less but more customizable one:
> PrefConfiguration from: {
>      'GTK' -> {
>           'font' -> {
>                'size' -> 12.
>                'style' -> 'italic'
>        }.
>        'color' -> {
>            'windows'  -> {
>                'background' -> 'EDE9E3'.
>            }
>        }
>        }
> }

Two levels only please:

(Smalltalk preferences at: #windows)
    at: #background put: 'EDE9E3'.

or you can even force the first level to be a package.

(PackageLoader packageAt: 'GTK') preferences
    at: #'window-background' put: 'EDE9E3';
    at: #'font-size' put: 12.

Paolo

_______________________________________________
help-smalltalk mailing list
help-smalltalk@gnu.org
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to