Re: Color and Focus !



>I managed to change the  default color of button widget .
>Howver , when the button  widget gets  focus , the color is lost .
>If one wants to retain that color throughout( with or without focus)  ,
>what can be done ?

first, make you sure you've read this:

       http://pobox.com/~hp/gtk-colors.html

then consider whether you want to:

  1) create style with the same colors for all components in all states
  2) unset the CAN_FOCUS flag for the button      

--p



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