Re: vertical scale display; button prelighting



Paul Davis <pbd Op Net> writes:
> >
> >Just set the prelight color to the same as the normal color.
> 
> if its a toggle button, there are *2* "normal" colors. what then?

I'm sure you could hack something, e.g. change prelight color when
toggled. (I see the issue here now, Thomas sent me mail earlier and I
was thinking check button and didn't get it.)

> --p "gtk_init (&argc, &argv); gtk_allow_prelight (false);"

I'd need some convincing on why this is useful. I do see that various
people are trying to do it, but is it just "I don't like the theme,
let's hardcode stuff" or is it for a reason.

i.e. if you had the option to just switch to a win32 lookalike theme
that didn't have prelight, would you still want gtk_allow_prelight()?

Making it possible to include a nonstandard theme as part of your app
binary might help a good bit with this issue.

Another option is to make prelight a user setting that all themes
would then honor (because GTK wouldn't pass them GTK_STATE_PRELIGHT).

Havoc





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