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


next up previous contents index
Next: scrolltext.text - Function Up: scrolltext - Tool Previous: scrolltext - Tool


scrolltext - Constructor



Package display
Module widgets
Tool scrolltext


Construct a scrolltext


Synopsis
scrolltext(parent, hscrollbar, vscrollbar, width, height, wrap, font, disabled, text, relief, borderwidth, foreground, background, fill, widgetset)


Arguments

parent Parent of the scrolltext
Allowed: Tk frame
hscrollbar Show a horizontal scrollbar?
Allowed: Boolean
Default: T
vscrollbar Show a vertical scrollbar?
Allowed: Boolean
Default: T
width Width in characters units
Allowed: Integer
Default: 30
height Height in characters units
Allowed: Integer
Default: 8
wrap Wrap line behaviour
Allowed: String from 'none', 'word', 'char'
Default: 'none'
font Font of text
Allowed: X font
Default: `'
disabled Is widget disabled ?
Allowed: T or F
Default: F
text Initial text
Allowed: String
Default: None
relief Edge relief
Allowed: String from `flat', `ridge', `raised', `sunken', `groove'
Default: `flat'
borderwidth Border width
Allowed: Integer
Default: 2
foreground Color of text
Allowed: X color
Default: `black'
background Background color
Allowed: X color
Default: `lightgrey'
fill how to expand when resized
Allowed: String from `x', `y', `both', `none'
Default: `both'
widgetset Widget set to use
Allowed: A widgetserver tool
Default: dws


Returns
scrolltext widget



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





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