Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | deleteregions |
Set new regions
Synopsis
setregions(regions)
Arguments
regions
Regions or region names (for source 'record' or 'global'
Allowed:
Record or vector of strings
Default:
""
Returns
Bool
Description
This function lets you set a new set of regions into the
widget. The source of the regions is the same as
at construction and must match.
Example
- include 'deleteregions.g'
- include 'regionmanager.g'
- r1 := drm.quarter();
- r2 := drm.box();
- r3 := drm.box([10,10],20,20]);
- rec := [=];
- rec[1] := r1; rec[2] := r2; rec[3] := r3;
- dr3 := deleteregions(source='record', regions=rec);
- rec := [=];
= rec[1] := r1; rec[2] := r2;
- dr3.setregions(rec);
T
Next: deleteregions.settable - Function
Up: deleteregions - Tool
Previous: deleteregions.refresh - 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