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


next up previous contents index
Next: viewerdisplaypanel.addgui - Function Up: viewerdisplaypanel - Tool Previous: Events


viewerdisplaypanel - Constructor



Package display
Module viewer
Tool viewerdisplaypanel


Create a Viewerdisplaypanel tool


Synopsis
viewerdisplaypanel(parent, viewer, width, height, nx, nx, 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
nx number of panels in x
Allowed: integer
Default: 1
nx number of panels in y
Allowed: integer
Default: 1
maptype how colors will be addressed on this Viewerdisplaypanel 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 Viewerdisplaypanel tool?
Allowed: boolean
Default: F
holdsdata is this Viewerdisplaypanel tool going to hold data?
Allowed: boolean
Default: T
show show the Viewerdisplaypanel tool?
Allowed: boolean
Default: T
widgetset Widgetserver tool to use to build the GUI
Allowed: Widgetserver tool or unset
Default: unset


Returns
Viewerdisplaypanel tool or fail


Description

This is the only constructor for Viewerdisplaypanel tools. It constructs (creates) a Viewerdisplaypanel tool which can subsequently be used for the display of Viewerdisplaydata tools. If widgetset is left unset, then the Viewerdisplaypanel 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 Viewerdisplaypanel tool.





next up previous contents index
Next: viewerdisplaypanel.addgui - Function Up: viewerdisplaypanel - Tool Previous: Events   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