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


next up previous contents index
Next: guientry.scalar - Function Up: guientry - Tool Previous: guientry - Tool


guientry - Constructor



Package display
Module widgets
Tool guientry


Make a guientry tool


Synopsis
guientry(width, relief, font, background, foreground, editablecolor, uneditablecolor, unsetcolor, illegalcolor, borderwidth, expand, widgetset)


Arguments

width Initial width of entry field (characters)
Allowed: Integer
Default: 30
relief Edge relief
Allowed: String from `flat', `ridge', `raised', `sunken', `groove'
Default: 'flat'
font Font of text
Allowed: X font
Default: ''
background Background color
Allowed: X color
Default: `lightgrey'
foreground Color of text
Allowed: X color
Default: `black'
editablecolor Color for editable values
Allowed: X color
Default: `white'
uneditablecolor Color for uneditabe values
Allowed: X color
Default: `lightgray'
unsetcolor Color for unset values
Allowed: X color
Default: `yellow'
illegalcolor Color for illegal values
Allowed: X color
Default: `red'
borderwidth Borderwidth
Allowed: Integer
Default: 1
expand Expand policy
Allowed: 'x'|'y'|'both'|'none'
Default: 'none'
widgetset Widget server to use
Allowed: A widgetserver tool
Default: dws


Returns
guientry widget


Description
Constructs a guientry according to the specified construction arguments, and returns a ref to the tool.



Example
include 'guientry.g'   
f := dws.frame();
ge := dws.guientry()
r := ge.scalar(f, value=30.0);
whenever r->value do {
  print 'Gui selected is ', r.get();
}





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