Exercises, examples and other material relating to training module T221. This topic is presented on public course Tcl/Tk
In Tcl/Tk, you'll often want pull-down menu selection. Briefly, you'll use a menu bar which comprises a number of menus. Each menu will comprise a number of menu items, some of which may be submenus. And each menu item will have an action associated with it. In this module, you learn the mechanisms used to create menus, and you learn programming techniques to allow you to create a flexible, maintainable menu system too.
|Articles and tips on this subject||updated|
|1475||Tcl/Tk - updating your display while tasks are running|
Let me make two statements:
1. When you are popping up a new window from your program, the very last thing you want to see happen is for the window to gradually appear, with bits of it being resized as it comes on the screen - not only is such an operation irritating on the eye, but also it's burning ...
Examples from our training material
|idletasks|| use of update idle tasks to update the display|
|mb1|| First menu button|
|mb2|| Various options for menu buttons|
|mb3|| Menu bar system based on array or lists|
Some modules are available for download
as a sample of our material or under an Open Training Notes License
for free download from [here]
Topics covered in this module
Simple pulldown menu.
Options for pulldown menus.
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.