Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | display | |
Module | widgets | |
Tool | widgetserver |
Set the busy cursor and optionally disable a frame
Synopsis
busy(busyframe, disable, busycursor)
Arguments
busyframe
The frame which will appear busy
Allowed:
Frame
disable
Should a disable event be sent to this frame?
Allowed:
T or F
Default:
T
busycursor
The new cursor
Allowed:
String
Default:
`watch'
Returns
T
Description
This function changes the cursor of busyframe to the busycursor, which
defaults to ``watch'',
to indicate that that frame is busy. If disable is T, then a
disable event is also sent to that frame, disabling all widgets within busyframe.
When disable is T it must be matched either by a call to
notbusy with enable being T or an enable event must be
explicitly sent to that frame.
Example
- f := dws.frame()
- # some additional widgetserver calls to build the contents of f
- # to set the busy cursor in f and disable the widgets in f
- dws.busy(f)
- # to set the normal cursor in f and enable its widgets
- dws.notbusy(f)
Next: widgetserver.notbusy - Function
Up: widgetserver - Tool
Previous: widgetserver.menuframes - 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