[pygtk] Problem with leave_notify_event
Gary Jaffe
gfj555 at gmail.com
Sun Jan 20 22:49:27 WST 2008
Nathaniel Smith wrote:
> On Sat, Jan 19, 2008 at 10:05:47AM -0500, Gary Jaffe wrote:
[snip...]
>> Is there something special I have
>> to do to get the leave_notify_event to trigger only when the pointer
>> leaves the window and not when it leaves the gtk.TreeView but stays
>> inside the window?
>
> Welcome to the wild world of X events :-). I recommend RFC1013 as a
> reference on these things (search for the section on "EnterNotify and
> LeaveNotify").
>
[snip...]
>
> -- Nathaniel
>
Thanks for your help. I wouldn't have considered that. :)
I read the relevant section and have 2 questions.
1) Do I get to the leaveNotify event structure by looking at a
gtk.gdk.event? And
2) I'm trying to write a multi-platform app. I'm developing in Linux,
but so far it runs under Mac and Windows, too. Will this break my
multi-platform compatibility?
Thanks again for your help.
Gary
More information about the pygtk
mailing list