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
programming:c:function strtok
programming - algorithms - 3D
programming - Free Pascal
bible - random notes - 2010-02-28 - Matt 10:38
embedded systems - Feather Huzzah32
filename:programming - tcl/tk - tk_optionMenu
filename:programming%20%2D%20tcl%2Ftk%20%2D%20tk_optionMenu
last edit:March 31 2009 21:46:34 (5527 days ago)
ct = 1716099437.000000 = May 19 2024 02:17:17
ft = 1238550394.000000 = March 31 2009 21:46:34
dt = 477549043.000000