programming:tcl/tk:tk_optionMenuWhat links here?
Makes a button, which when clicked on shows a list with available options. Useful when user has to make one choice when multiple choices are given. Below is a options menu in HTML. A word of caution though - Tcl/Tk's option menu has a very different appearance.

Syntax

tk_optionMenu path varName value ?value value ...? 


Example...

set opt "Two"
tk_optionMenu .omn opt "One" "Two" "Three" "Four" "Five" "etc."
pack .omn
tk:tk_optionMenu
linux - software
Raspberry PI - GPIO
MC6802 - assembler - statement format
programming:c:struct tm
tk - tk_frame
MC6802 - instruction set - Copy stack pointer to Index Register
MC6802 - instruction set - Copy Index Register to stack pointer
programming - DDE - WinWord DDE Server
code vault - strtail
Raspberry PI - Configure a Raspberry pi zero W without monitor or keyboard
filename:programming:tcl/tk:tk_optionMenu
filename:programming%3Atcl%2Ftk%3Atk_optionMenu
last edit:March 31 2009 21:46:34 (6254 days ago)
ct = 1778923143.000000 = May 16 2026 05:19:03
ft = 1238550394.000000 = March 31 2009 21:46:34
dt = 540372749.000000