Re: [gtk-list] Re: GTK_SHADOW_SHALLOW_IN
- From: Kenneth Albanowski <kjahds kjahds com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Re: GTK_SHADOW_SHALLOW_IN
- Date: Fri, 12 Dec 1997 04:04:24 -0500 (EST)
On Fri, 12 Dec 1997, Patrice Fortier wrote:
> When you'll do that, keep in mind that the ?thickness resource in
> the gtkstyleclass will still be 2, even if your draw function (well,
> sort of) is 1 pixel-wide.
It probably makes the most sense to keep it at two pixels, so that packing
isn't thrown off unnecesarily. The inner pixels would be the same as the
background, is all.
In any case, I'm not going to implement this at the moment.
> > The idea of dynamic styles sounds attractive, but I wonder at the cost of
> > supporting it, both in time spent in the style routines, and in the
> > duplication cost (it's unlikely two people will write identical widgets,
> > but they might do so for styles.)
> The Style widget is ready for this (I mean for the modification
> of the current styleclass), but what we need is a nice API to change
> the class (or its contents).
I wasn't talking about a complete dynamic replacement (i.e., switch from
Gtk to AfterStep, or whatever), but rather a dynamic addition:
much as all of the widgets plug themselves into the library while it is
Kenneth Albanowski (firstname.lastname@example.org, CIS: 70705,126)
] [Thread Prev