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.frame - Function Up: rollup - Tool Previous: rollup - Tool


rollup - Constructor



Package display
Module widgets
Tool rollup


Construct a rollup


Synopsis
rollup(parent, font, relief, borderwidth, side, padx, pady, expand, foreground, background, title, titleforeground, titlebackground, show, widgetset)


Arguments

parent Parent of the menu
Allowed: Tk frame
font Font of text
Allowed: X font
Default: ''
relief Edge relief
Allowed: String from `flat', `ridge', `raised', `sunken', `groove'
Default: 'flat'
borderwidth Border width
Allowed: Integer
Default: 2
side Direction for child placement
Allowed: String from 'top', 'left', 'right', 'bottom'
Default: 'top'
padx Horizontal padding around text
Allowed: Integer
Default: 0
pady Vertical padding around text
Allowed: Integer
Default: 0
expand How to expand when resized
Allowed: String from `x', `y', `both', `none'
Default: 'both'
foreground Color of text
Allowed: X color
Default: `black'
background Background color
Allowed: X color
Default: `lightgrey'
title String displayed at top of widget
Allowed: String
Default: ''
titleforeground Color of title text
Allowed: X color
Default: `black'
titlebackground Background title color
Allowed: X color
Default: `lightgrey'
show Whether to expose frame immediately
Allowed: Boolean
Default: T
widgetset Widget set to use
Allowed: A widgetserver closure tool
Default: dws


Returns
rollup widget


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



Example
include 'rollup.g'   
f := frame();
r := rollup(f, title='My rollup');





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