*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> Tk/optionmenu (3)              
Title
Content
Arch
Section
 

Contents


tk_optionMenu(3Tk)					    tk_optionMenu(3Tk)


NAME    [Toc]    [Back]

     tk_optionMenu - Create an option menubutton and its menu

SYNOPSIS    [Toc]    [Back]

     tk_optionMenu w varName value ?value value	...?

DESCRIPTION    [Toc]    [Back]

     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
     displayed 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    [Toc]    [Back]

     option menu


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
VkOptionMenu IRIX An option menu for use with ViewKit menu items
menubutton IRIX Create and manipulate menubutton widgets
VkPrefOption IRIX Option menu preference field
inet6_opt_append Tru64 Return the length of an IPv6 extension header with a new option and append the option
menu_new NetBSD create or delete a menu
menu_item_new NetBSD create or delete menu item
mitem_new FreeBSD create and destroy menu items
free_item OpenBSD create and destroy menu items
new_item OpenBSD create and destroy menu items
new_item FreeBSD create and destroy menu items
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service