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 - apache
programming - windows - WM_NCCALCSIZE
microprocessors - Arduino Mega
programming - windows - WM_COMMAND
embedded systems - modbus - function codes
programming - windows - Button Notification Messages
programming - windows - networking - select based server
programming - windows - MoveWindow
programming - cgi - HTTP_USER_AGENT
programming - windows - SetWindowPos
programming - sqlite3 - c interface
programming - windows - SetWindowText
programming - sqlite2 - c interface
programming - javascript - HTML DOM - events
programming - javascript - HTML DOM HTMLElement Object
programming - javascript - properties - innerHTML
programming - javascript - objects - window
filename:programming - tcl/tk - tk_optionMenu
filename:programming%20%2D%20tcl%2Ftk%20%2D%20tk_optionMenu
last edit:April 01 2009 01:46:34 (6431 days ago)
ct = 1794244938.000000 = November 09 2026 17:22:18
ft = 1238550394.000000 = April 01 2009 01:46:34
dt = 555694544.000000