The$mainwindow->OptionMenu(-textvariable => \$platform, -options => [ [ "UNIX", "unix" ], [ "Windows NT", "winnt" ], [ "Macintosh", "mac" ] ]) -> pack;
-optionsargument takes a list of menu items. If the description of the menu items that are displayed are different from the values stored, the menu items are themselves written as two-item lists.
The standard configuration options that apply to
Other options are:
Lists the menu options, as described above.