[9787] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: highlighting a button upon entering

daemon@ATHENA.MIT.EDU (Aaron Digulla)
Tue Nov 3 09:34:23 1998

Date: Tue, 3 Nov 1998 15:31:40 +0100
From: Aaron Digulla <digulla@wi-pc44.fh-konstanz.de>
To: gtk-list@redhat.com
In-Reply-To: <19981008111259.A320@evergreen>; from Alexey Marinichev on Thu, Oct 08, 1998 at 11:12:59AM +0400
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Quoting Alexey Marinichev (lyosha@lyosha.transas.com):

> Just started learning gtk.  Want to write gtk gui for vim.
>
> I didn't find it in the tutorial, could someone clarify it for me how exactly
> it happens that a button is highlighted when mouse cursor enters it?

That happens in gtk_real_button_enter(). It is called as part of the
enter signal handling. I don't see a way to prevent this. The only thing
you could do is to set the highlight color to the background color; in this
case it would be highlightet but you couldn't see it :-/

--
Dipl. Inf. (FH) Aaron "Optimizer" Digulla     Assistent im BIKS Labor, FB WI
"(to) optimize: Make a program faster by      FH Konstanz, Brauneggerstr. 55
improving the algorithms rather than by       Tel:+49-7531-206-514
buying a faster machine."                     EMail: digulla@fh-konstanz.de

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post