Chapter 12. Creating and Managing Menus

In this chapter, we will cover the following topics:

  • Creating a menu
  • Adding menu buttons
  • Displaying a pop-up menu
  • Data entry application

Introduction

Menus are an integral part of the Graphical User Interface (GUI). Most GUI-based applications contain a menu and follow a standard layout and implementation. By following the standard presentation of a menu, we can provide our users with an effective and familiar interface. But what is the standard?

Thankfully, there are numerous standards available to assist in the design and layout of a menu. IEEE, US Government provides requirements for accessibility, language-specific documents, and others provide numerous examples of menu design and these are readily available ...

Get Tcl/Tk 8.5 Programming Cookbook 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.