Advanced Search
Mail us
Home    Manuel    Links    Faq    Submit a tcl/tk Reference    Contact Us

    Some examples tcl/tk codes     Man of Bwidget     Man of blt     mkwidget screenshots     TkOgl     Video Demo real.


  How do know when I am over a specific entry in a menu?
 
 Tk menu entries are not first class widgets, thus they do not generate
their own `` and `` events.  However, Tk8 provides the
virtual event `<>` that simulates this.  An example of its
use can be found in the `$tk_library/demos/menu.tcl` file for Tk8.  In
Tk4, this can be simulated with a binding to ``.