Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: actionoptionmenu - Constructor Up: widgets - Module Previous: widgets - Module


actionoptionmenu - Tool



Package display
Module widgets


Postscript file available

Tk widget where the action menu label changes with selection

include "optionmenu.g"



Description

This Tk widget is identical to the optionmenu widget, where you should look for function and event documentation (we give the constructor only below, with an example to show the intended usage). The actionoptionmenu exists only so you can use it for ``action'' menus, where the relief (usually raised) and colors will in general be different from that of a ``selection'' option menu (relief is usually groove).

The actionoptionmenu is implemented on top of the optionmenu in the widgetserver tool. This means that it is only available via the widgetserver. Therefore you must do something like



Example
- include 'widgetserver.g'
- f := dws.frame();
- m : = dws.actionoptionmenu(f);

You will have no success if you try to do



Example
- include 'actionoptionmenu.g'
- f := frame();
- m : = actionoptionmenu(f);

as the file actionoptionmenu.g does not exist.




next up previous contents index
Next: actionoptionmenu - Constructor Up: widgets - Module Previous: widgets - Module   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15