next up previous contents index
Next: MenuBar Up: Procedures Previous: KeysymBox

MakeMButton

  This template creates a menubutton, with an automatically created menu attached. The type and contents of the menu are specified by parameters that are passed on to the procedure. The procedure gets the following parameters:

tabular2120

A small example of an invocation may look like this:

 
		MakeMButton .mbutton Optionsmenu radio {Option1 Option2 Option3}

This would create the following dialog box:

   figure2129
Figure: The template MakeMButton



Harry Beker
Thu Feb 29 18:06:38 MET 1996