Re: chubbiness reduction
- From: "Daniel Richard G." <straker fox mit edu>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-devel-list gnome org
- Subject: Re: chubbiness reduction
- Date: Fri, 7 Jul 2000 14:38:20 -0400 (EDT)
On 7 Jul 2000, Owen Taylor wrote:
> But, basically, the idea is that a theme has complete control
> over the style that is assigned to each widget. (And can pick
> different style classes, even), via the:
>
> void (*rc_style_to_style) (GtkStyle *style, GtkRcStyle *rc_style);
>
> Function in GtkThemeEngine structure.
That function converts the engine-specific part of a GtkRcStyle to the
engine-specific part of a GtkStyle. I don't see how it's supposed to find
out what type of widgets the style is being applied to.
I can specify widget-specific style bindings in gtkrc-- and {x,y}thickness
values as engine-specific properties, as the Metal engine does-- but doing
things that way is much *much* more of a hack.
--Straker
//,, //,,
//=================// ////// ////// //==================================\\
Straker Skunk / ////// ////// / Skunks are such wonderful
<skunk@mit.edu> / ////// ////// / creatures... soft, and cuddly,
-- -- -- -- -- --\ \\\\\\ \\\\\\ \ and if you annoy them they
Daniel Richard G. \ \\\\\\ \\\\\\ \ make you stink like hell
========--====--==-\ \\\\\\ \\\\\\ \---------------=--==--====--========
//mit.edu/straker / ////// ////// / Furry|Course VI-3|MIT Class of 2001
//skunk.mit.edu / ////// ////// / 80% Beaver 90% Penguin 100% SKUNK!!!
\\===============// ////// ////// //====================================//
''// ''//
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]