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
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to