[Gtk-sharp-list] Widget Background Color 'anomaly', and request for further reading
Michael Hutchinson
m.j.hutchinson at gmail.com
Sat Jan 24 21:22:39 EST 2009
On Sat, Jan 24, 2009 at 6:21 AM, hywelt
<hywel at controlspecials.demon.co.uk> wrote:
>
> I've had a quick look already at the Gtk+ source and docs, but got a bit lost
> with the complications of colours, and thought that I might be missing
> something obvious. Your info re "modifier style" is helpful, as I hadn't
> come across this extra factor. As it happens, I've satisfied my immediate
> needs by using the 'ModifyBg' method without the colour parameter, which
> restores the default colour (perhaps from some form of stack?), but I'm
AFAICT it removes the modifier value and flag for that state, so the
colour lookups fall through to the original default.
> surprised that trying to *read* the current background could be construed as
> 'advanced'! I'll see what the Gtk+ lists have to say.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Gtk-sharp-list
mailing list