11.6. Fun Things to Try

  • Create one menu that has two items: Disabled and Normal. When you right-click on a widget, the menu will pop up. If you select 'Disabled', that widget will be disabled. Selecting 'Normal' reenables that widget.

  • Create an application with two menubuttons. Have the items on the first add and delete different types of menu items to the second menu.

  • Take all the fun things from previous chapters and add menus to them. Add at least a File menu, with an Exit item. Be inventive!

Get Learning Perl/Tk now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.