mps@sparc14.hri.com (Mark Stockley) (11/06/90)
I am trying to change the cursor font interactively (to a busy cursor). Does anybody have a Motif example of how to do this. I've tried the standard X methodology shown in my reference manuals, but it does not seen to work. ------------------------------------------------------------------------------ Mark P. Stockley | INET: mps@hri.com | But I don't like Spam!!! Horizon Research | Voice: (617) 466-8300 | 1432 Main St., | | Is the alphabet in that order Waltham MA 02154 | FAX: (617) 466-8323 | or is it because of that song? ------------------------------------------------------------------------------
al@millipore.com (Al Wolfson) (11/06/90)
In article <1990Nov5.174323.11359@hri.com> mps@sparc14.hri.com (Mark Stockley) writes: >I am trying to change the cursor font interactively (to a busy cursor). >Does anybody have a Motif example of how to do this. I've tried the >standard X methodology shown in my reference manuals, but it does >not seen to work. > >------------------------------------------------------------------------------ >Mark P. Stockley | INET: mps@hri.com | But I don't like Spam!!! >Horizon Research | Voice: (617) 466-8300 | >1432 Main St., | | Is the alphabet in that order >Waltham MA 02154 | FAX: (617) 466-8323 | or is it because of that song? >------------------------------------------------------------------------------ We have successfully used the following: #include <X11/cursorfont.h> : : set_cursor(widget, XC_watch); /* set cursor to watch shape */ : : set_cursor(widget, -1); /* restore default cursor */ : : Hope this helps! -- Alan Wolfson (617) 229-2870 x2173 MilliGen / Biosearch 186 Middlesex Turnpike, Burlington, MA 01803 al@lauren.millipore.com