-Q10.C.6- bind and to a frame containing other widgets?

From: -X-  How, in Tk, can I XXX:

A10.C.6. From John Ousterhout, ouster@cs.Berkeley.EDU):

Each <Enter> or <Leave> event has a "detail" field, which you can access
from bindings with "%d".  If the detail is "NotifyInferior" it means the
pointer has moved into or out of a child window (so it's really still in
the area of the window receiving the event).  You should be able to check
the detail in your scripts and ignore events with a detail of NotifyInferior.
Check the Xlib documentation for Enter/Leave events for complete
information on the detail field.
Go Back Up

Go To Previous

Go To Next