Re: GtkNotebook Sloppy Focus

From: Neil Bird <neil fnxweb com>

To: GTK Mailing List <gtk-list gnome org>

Subject: Re: GtkNotebook Sloppy Focus

Date: Wed, 10 Oct 2001 09:51:14 +0100

Daniel Erat wrote:

I think that one way to do this would be something like the following (this
very well may have bugs... I haven't tested it, but it's similar to some of
the code that I'm using for draggable tabs):
gtk_widget_add_events (notebook, GDK_POINTER_MOTION_MASK);

I don't know about that; I though 'motion' events represented mouse-drags with
buttons held down, not 'mere' random mouse movements.

Could you not attach a 'show-my-page' callback to each tab
(the same routine, working on the passed in tab ptr) using the
'focus-in' event?