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


next up previous contents index
Next: viewerslicedp.setoptions - Function Up: viewerslicedp - Tool Previous: Graphical User Interface


viewerslicedp - Constructor



Package display
Module viewer
Tool viewerslicedp


Create a Viewerslicepanel tool


Synopsis
viewerslicedp(parent, viewer, width, height, maptype, newcmap, mincolors, maxcolors, autoregister, holdsdata, show, widgetset)


Arguments

parent parent frame for the panel
Allowed: agent or F
Default: F
viewer the Viewer tool which will manager this tool
Allowed: Viewer tool
width width in pixels of the drawing area
Allowed: integer
Default: 250
height height in pixels of the drawing area
Allowed: integer
Default: 250
maptype how colors will be addressed on this Viewerslicepanel tool
Allowed: 'index' 'rgb' 'hsv'
Default: 'index'
newcmap install a private colormap? (ignored if a parent frame is provided)
Allowed: boolean
Default: F
mincolors minimum number of colors to allocate
Allowed: Integer or unset
Default: unset
maxcolors maximum number of colors to allocate
Allowed: Integer or unset
Default: unset
autoregister accept auto-register data on this Viewerslicepanel tool?
Allowed: boolean
Default: F
holdsdata is this Viewerslicepanel tool going to hold data?
Allowed: boolean
Default: T
show show the Viewerslicepanel tool?
Allowed: boolean
Default: T
widgetset Widgetserver tool to use to build the GUI
Allowed: Widgetserver tool or unset
Default: unset


Returns
Viewerslicepanel tool or fail


Description

This is the only constructor for Viewerslicepanel tools. It constructs (creates) a Viewerslicepanel tool which can subsequently be used for the display of Viewerdisplaydata tools. If widgetset is left unset, then the Viewerslicepanel tool will use the Widgetserver tool used by its parent Viewer tool.

This constructor should not be called by users: it is called by the newdisplaypanel function of the Viewer tool, which returns a Viewerslicepanel tool.





next up previous contents index
Next: viewerslicedp.setoptions - Function Up: viewerslicedp - Tool Previous: Graphical User Interface   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