Re: GtkNotebook Sloppy Focus



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?

  'focus-in' may not be the one you want - you'd have to check.

--
[neil fnx ~]# rm -f .signature
[neil fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil fnx ~]# exit





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