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



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



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