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.

  Why do I have problems accessing item/index 0 of my menu?
 Tearoffs are new to Tk4 and the new default for `menu`s.  They now
occupy index 0 of the menu when they are present.  You can exclude them
by passing `-tearoff 0` to each menu or by placing the following line at
the beginning of your code:

option add *Menu.tearoff 0