Page 319 -
P. 319
multiple options
An OptionMenu lets you have as many
options as needed
An OptionMenu or drop-down listbox is a widget that lets you restrict the
number of options a user can choose, just like a group of radio buttons. But
it has a couple of important differences.
First, it takes up a lot less space than a functionally equivalent group of radio
buttons, about the same amount of space as an Entry text field. Second—
and this is the really important characteristic—when you click it, an option
menu can display a large list of options.
Depot: The user could
select a depot from
an option menu.
Save
If the Head-Ex coders use an option menu, they will be able to increase
the number of depots available, but they won’t have to increase the size or
complexity of their GUI.
So what needs to be changed in the code if you want to swap the radio
buttons for an option menu?
It’s not what changes, but what stays the same.
284 Chapter 8