An Option Menu 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.


\Cambridge, jflA

Joeton, MA -■flame. TUJy ¡Male, Maldives ;Luxor, Egypt Rhodes, Greece Edinburgh, Scotland!

The user ¿ould


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.

Was this article helpful?

0 0

Post a comment