6.2 Looks

Default parameters of widgets can be specified and grouped into "looks". A look is obtained by :

L={QTk.newLook}

And you can specify the default for a widget by :

{L.set widgetname(param1:value1 ... paramX:valueX)}

For example :

{L.set entry(background:white)}

specifies that the entries will have a white background by default for the look L.

All widgets have a look parameter that specifies the look to use. Except when explicitly stated, widgets that serve as container for other widgets propagate their look parameter.


Donatien Grolaux
Version 1.2.3 (20011129)