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:

A small example of an invocation may look like this:

``

    		MakeMButton .mbutton Optionsmenu radio {Option1 Option2 Option3}

This would create the following dialog box:

Figure: The template MakeMButton