[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Disabling button highlighting
- From: Eric Harlow <linuxgeek yahoo com>
- To: gtk-app-devel-list redhat com
- Subject: Re: Disabling button highlighting
- Date: Sat, 7 Nov 1998 11:36:42 -0800 (PST)
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]