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

Re: Disabling button highlighting





Change the style color for the style's PRELIGHT and make it the same
as the NORMAL. 

    style->fg[PRELIGHT] = style->fg[NORMAL];
    style->bg[PRELIGHT] = style->bg[NORMAL]

of course, the easiest way is to create a *new* style and push that on
whenever you're creating a button that you don't want "highlighted" as
someone moves over it. 

 -Eric


---"Scott." <scottf@scs.unr.edu> wrote:
>
> 
> i've checked up and down the gtkstyle class, but cannot find how to do
> this...
> 
> how can you disable a button (or any similar widget for that matter)
from
> becoming "highlighted" on a mouse over?  override the "enter" and
"leave"
> calls and make them blank dummy functions? ... 
> 
> thanx.. :)
> 
> (wow this app is moving along... it's functional!! yay!! and does what
> it's supposed to... now for the features.. :) )
> 
> -=Scott
> 
> 
> -- 
>          To unsubscribe: mail gtk-app-devel-list-request@redhat.com
with 
>                        "unsubscribe" as the Subject.
> 
> 	Mailing list concerns should be mailed to <listmaster@redhat.com>
> 
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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