summaryrefslogtreecommitdiffstats
path: root/doc/optionMenu.n
diff options
context:
space:
mode:
Diffstat (limited to 'doc/optionMenu.n')
-rw-r--r--doc/optionMenu.n7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/optionMenu.n b/doc/optionMenu.n
index 17a2727..b6d3257 100644
--- a/doc/optionMenu.n
+++ b/doc/optionMenu.n
@@ -5,7 +5,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: optionMenu.n,v 1.2 1998/09/14 18:22:58 stanton Exp $
+'\" RCS: @(#) $Id: optionMenu.n,v 1.3 2004/06/21 14:48:04 dkf Exp $
'\"
.so man.macros
.TH tk_optionMenu n 4.0 Tk "Tk Built-In Commands"
@@ -35,6 +35,11 @@ The current value can also be changed by setting the variable.
The return value from \fBtk_optionMenu\fR is the name of the menu
associated with \fIw\fR, so that the caller can change its configuration
options or manipulate it in other ways.
+.SH EXAMPLE
+.CS
+tk_optionMenu .foo myVar Foo Bar Boo Spong Wibble
+pack .foo
+.CE
.SH KEYWORDS
option menu