Re: Theme-related request for GTK 2.0



Havoc Pennington wrote:
> 
> Johan Hanson <misagon mail bahnhof se> writes:
> > The engine would be able to override the *default* setting for a style
> > property >>per style<<. By using the "engine" clause within a "style"
> > declaration, the theme writer has specified that he wants the default
> > look of the theme engine (for that style) and that all other settings
> > build on the defaults of the theme engine.
> 
> The rc file that comes with a theme does set default settings for
> style properties - user ~/.gtkrc-2.0 will override the theme stuff.
> 
> Themes are intended to come with rc files.

I agree with that. Users should be in total control.

> Engines are supposed to do drawing according to the values in the style
> properties, they are not supposed to affect the style properties.

OK, but look at it this way: specifying an engine for a style would be
able to set a whole bunch of style properties for that style implicitly.

But ANY style property setting set EXPLICITLY in the style or in a
inherited style would OVERRIDE the setting from the theme engine.
The author of the RC files would be in total control, but his/her work
would be made easier.

-- 
/ Johan tiq com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]