Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | viewer | |
Tool | viewerdisplaydata |
parent | parent frame for GUI | ||
Allowed: | agent or F | ||
Default: | F | ||
uneditable | parameters which should not be editable | ||
Allowed: | vector of strings | ||
Default: | ``'' | ||
show | map the GUI to the screen immediately? | ||
Allowed: | Boolean | ||
Default: | T | ||
hasdismiss | place a 'Dismiss' button in the GUI? | ||
Allowed: | Boolean | ||
Default: | F | ||
hasdone | place a 'Done' button in the GUI? | ||
Allowed: | Boolean | ||
Default: | F | ||
widgetset | Widgetserver tool to use for the GUI | ||
Allowed: | Widgetserver tool | ||
Default: | dws |
Calling this function will create and return a new GUI which can be used to adjust the state of this Viewerdisplaydata tool. By judicious use of the function arguments, the graphical user interface can optionally be placed within existing frames, and left off-screen for later use. The interface of the return value conforms to the Viewerstandardgui interface.
The uneditable argument should be a vector of strings listing the internal names of the parameters which should not be editable by the user in the graphical user interface. eg. uneditable=''xaxis yaxis colormap'' would prevent the user from modifying the displayed X and Y axes and the colormap of this Viewerdisplaydata tool in the GUI: they could still modify these parameters from the command-line via the setoptions function.