gabriele renzi <rff_rff / remove-yahoo.it> wrote:
> Martin DeMello ha scritto:
> > I can think of at least one good us for the current @@ variables -
> > subclassable GUI components that inherit hierarchy-shared look-and-feel
> > properties from the parent class. What would be the elegant way to do
> > this if @@ variables go per-class?
> 
> constants?

Constants aren't modifiable at run time (well, you aren't supposed to
modify them). I was thinking of a scheme whereby you could simply modify
the current theme and have all subclassed widgets pick up on that. A
shared access method to an entirely separate Theme object might do it,
but I still think @@variables are the elegant solution in this case.

martin