Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | widgetserver |
This makes an AIPS++ actionoptionmenu
megawidget, applying context-sensitive defaults as described in the top-level
widgetserver documentation. It is identical to the
optionmenu megawidget.
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.
Make an action optionmenu megawidget
Synopsis
actionoptionmenu(actionoptionmenu megawidget arguments)
Arguments
actionoptionmenu megawidget arguments
standard AIPS++ actionoptionmenu megawidget arguments
Returns
AIPS++ actionoptionmenu megawidget
Description
Example
- include 'widgetserver.g'
- names := ['Delete all files', 'Delete images', 'Delete measurement sets'];
- labels := "DelAll DelIm DelMS";
- f := dws.frame();
- hlp := 'Delete selected files';
- m := dws.actionoptionmenu(f, labels, names, hlp=hlp);
Next: widgetserver.checkmenu - Function
Up: widgetserver - Tool
Previous: widgetserver.extendoptionmenu - Function
  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