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


next up previous contents index
Next: tapedeck.dismiss - Function Up: tapedeck - Tool Previous: tapedeck - Tool


tapedeck - Constructor



Package display
Module widgets
Tool tapedeck


Construct a tapedeck


Synopsis
tapedeck(parent, background, hasstop, hasplay, hasstep, hasto, hasforward, hasreverse, stopcolor, playcolor, stepcolor, tocolor, orient, widgetset)


Arguments

parent Parent of the menu
Allowed: Tk frame
background Background color
Allowed: X color
Default: `lightgrey'
hasstop Whether to provide 'stop' button
Allowed: Boolean
Default: T
hasplay Whether to provide 'play' button/s
Allowed: Boolean
Default: T
hasstep Whether to provide 'step' button/s
Allowed: Boolean
Default: T
hasto Whether to provide 'to' button/s (ie. to end, to start)
Allowed: Boolean
Default: T
hasforward Whether to provide forward-direction buttons
Allowed: Boolean
Default: T
hasreverse Whether to provide reverse-direction buttons
Allowed: Boolean
Default: T
stopcolor Color of the 'stop' button
Allowed: X color
Default: 'black'
playcolor Color of the 'play' button/s
Allowed: X color
Default: 'black'
stepcolor Color of the 'step' button/s
Allowed: X color
Default: 'black'
tocolor Color of the 'to' (cue) button/s
Allowed: X color
Default: 'black'
orient Orientation of the tapedeck
Allowed: 'horizontal' 'vertical'
Default: 'horizontal'
widgetset Widget set to use
Allowed: A widgetserver closure tool
Default: dws


Returns
tapedeck widget


Description
Constructs a tapedeck according to the specified construction arguments, and returns a ref to the widget.



Example
include 'tapedeck.g'   
f := frame();
td := tapedeck(f, background='black', hasto=F);





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