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


next up previous contents index
Next: plotter - Module Up: guiutils - Module Previous: choicewindow - Function


infowindow - Function



Package display
Module guiutils


Display an informational message in a window


Synopsis
infowindow(sometext, title, selfdestruct, timeout, ws) include "infowindow.g"


Description
The infowindow is a simple dialog window that lets one display an information message in a window. If selfdestruct is specified, the window will dismiss itself after the timeout period specified. Depending on the length of the text (more than 200 characters) the message will either appear as a message widget or in a scrolling text widget.



Arguments

sometext   Text of message you wish to display
    Allowed: string
title   Title to put in window
    Allowed: string
selfdestruct   Do you want this window to automatically disappear?
    Allowed: Boolean
    Default: F
timeout   specifies the number of ticks in .2s for the window to automatically dismiss itself
    Allowed: integer
    Default: 150
ws   widget server
    Allowed: agent
    Default: dws


Returns
T (or fail)


Example
include 'infowindow.g';
iw := infowindow('Something good will happen to you.');





next up previous contents index
Next: plotter - Module Up: guiutils - Module Previous: choicewindow - 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