Menu

#296 TIP#360: Modernize menus on X11

TIP Implementation
closed-accepted
7
2010-01-09
2009-12-24
Pat Thoyts
No

The following patches are intended to make Tk menus on X Windows function more like GNOME menus. The first patch makes the dropdown menus follow the mouse once they have initially been activated. This is the behaviour seen on Windows menus and is also used by GNOME. Currently a user must click to open every cascade menu. If the original functionality is desired, the *Menu.clickToFocus option can be set (or call tk::classic:;restore menu).
The second stops pinning the Help menu to the extreme right of the menubar. Again the old behaviour can be restored. This time by setting the *Menu.useMotifHelp option or by calling tk::classic::restore menu.

The patches are based on core-8-5-branch and these versions incorporate suggestions from tcl-core (delayed post cascade, option database override)

Discussion

  • Donal K. Fellows

    • summary: Modernize menus on X11 --> TIP#360: Modernize menus on X11
     
  • Pat Thoyts

    Pat Thoyts - 2010-01-02

    Refreshed the patches again including man page modification. (against 8.5).

     
  • Pat Thoyts

    Pat Thoyts - 2010-01-02
    • assigned_to: tmh --> patthoyts
     
  • Pat Thoyts

    Pat Thoyts - 2010-01-09

    TIP vote was successful.
    Applied to 8.6
    Applied to 8.5.

     
  • Pat Thoyts

    Pat Thoyts - 2010-01-09
    • status: open --> closed-accepted
     
MongoDB Logo MongoDB