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

    From: -II-  Tk Questions and Answers - How can I:

    A2.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.

Parent document is top of "FAQ: comp.lang.tcl Tk Toolkit Usage Questions And Answers (1/1)"
Previous document is "-Q2.C.5- use Tk in a subwindow of a non-Tk X11 application?"
Next document is "-Q2.C.7- mix interactions between Xt and Tk/Tcl?"