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


next up previous contents index
Next: rollup - Constructor Up: widgets - Module Previous: restoreregions.settable - Function


rollup - Tool



Package display
Module widgets


Postscript file available

Tk widget to hide and expose an embedded frame on demand

include "rollup.g"

Constructors
rollup Construct a rollup
Functions
disable Disable the rollup
done Destroy ourselves
down Show the rollup contents
enable Enable the rollup
frame Return the embedded frame for use
hidden Is the rollup hidden ?
setpopuphelp Set new popuphelp
switch Flip the visible state of the rollup
up Hide the rollup contents



Description

This Tk widget will manage the hiding and exposure of an embedded frame. The idea is that you create a rollup, and then place GUI items (eg. frames, buttons, listboxes) inside the frame that the rollup provides. The widget builds itself with a titlebar, which the user can press to switch the view between hidden and exposed. Functions exist to control the visibility of the rollup from the command line.

The rollup widget can be treated like many of the built in Tk widgets, except that a frame is not returned: the programmer must explicitly extract the embedded frame with the "frame" function. Many of the construction arguments are identical to those of the built in Tk widgets.




next up previous contents index
Next: rollup - Constructor Up: widgets - Module Previous: restoreregions.settable - 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