comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: HELP making widgets look "busy"
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: HELP making widgets look "busy" [message #529] Thu, 03 September 1992 20:48
benell is currently offline  benell
Messages: 7
Registered: September 1992
Junior Member
In article <87864@netnews.upenn.edu> mark@ginger.biophys.upenn.edu (Mark Elliott) writes:
>
> Does anyone know a good way to imply that an IDL widget is "busy"?
> With other widget toolkits (Motif,...) I used to do things like:
>
> - Change the cursor to an hour-glass
> - Change the background color of the widget
> - Make all the widget items (buttons,...) become insensitive
>
> Can any/all of the above be done with IDL widgets?
>
>
To change the cursor to another object use the DEVICE procedure
with the keyword CURSOR_STANDARD = #, where # is the value of what you want
the cursor to become. The IDL manual, app. E will point to a header
file that contains the objects that the mouse can become. To make
the cursor into a watch the following works:

DEVICE, CURSOR_STANDARD = 150

To return the mouse to a crosshair use:

DEVICE, /CURSOR_CROSSHAIR

One problem with this is that the mouse only changes when the pointer
is over a draw widget. If your widget does not have a draw widget in
it, you could make the widget insensitive.

To make the widget insensitive, use the SENSITIVE keyword in the call
to WIDGET_CONTROL. ie.

WIDGET_CONTROL, base, SENSITIVE = 0 ;base is the base id of widget.

Then to make the widget sensitive again use the same call but with
SENSITIVE = 1 (non-zero).

- K
[Message index]
 
Read Message
Previous Topic: Re: PC-IDL
Next Topic: Re: IDL Vector Fonts !!!! HELP !!!!

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:36:36 PDT 2025

Total time taken to generate the page: 1.36051 seconds