diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-21 14:48:04 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2004-06-21 14:48:04 (GMT) |
commit | a0d2862c1aa749c6c230ea1a17de725137cb775d (patch) | |
tree | a064b4302253f04a42754dffbc2df28024cbfa2d /doc/optionMenu.n | |
parent | 6f28cc4884370daadabed3fb3a5d097628fad17d (diff) | |
download | tk-a0d2862c1aa749c6c230ea1a17de725137cb775d.zip tk-a0d2862c1aa749c6c230ea1a17de725137cb775d.tar.gz tk-a0d2862c1aa749c6c230ea1a17de725137cb775d.tar.bz2 |
Added example
Diffstat (limited to 'doc/optionMenu.n')
-rw-r--r-- | doc/optionMenu.n | 7 |
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 |