tk_optionMenu man page on BSDi

Man page or keyword search:  
man Server   6284 pages
apropos Keyword Search (all sections)
Output format
BSDi logo
[printable version]



tk_optionMenu(n)       Tk Built-In Commands	 tk_optionMenu(n)

_________________________________________________________________

NAME
       tk_optionMenu - Create an option menubutton and its menu

SYNOPSIS
       tk_optionMenu w varName value ?value value ...?
_________________________________________________________________

DESCRIPTION
       This  procedure creates an option menubutton whose name is
       w, plus an associated menu.  Together they allow the  user
       to  select one of the values given by the value arguments.
       The current value will be stored in  the	 global	 variable
       whose  name  is	given by varName and it will also be dis-
       played as the label in the option  menubutton.	The  user
       can  click  on the menubutton to display a menu containing
       all of the values and thereby select a new value.  Once	a
       new  value  is selected, it will be stored in the variable
       and appear in the option menubutton.   The  current  value
       can also be changed by setting the variable.

       The  return  value  from	 tk_optionMenu is the name of the
       menu associated with w, so that the caller can change  its
       configuration options or manipulate it in other ways.

KEYWORDS
       option menu

Tk			       4.0				1

[top]

List of man pages available for BSDi

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net