Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
I was wondering if you could get rid of the system cursor, over a particular widget. (i.e. Like setting the watch cursor). I want my application to handle the cursor, and just not see the system cursor, but only over that widget. Is this possible? Is it similar to setting the cursor to another pattern? thanks in advance, $$$$ ted $$$$
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
1635.1 | Look at the cursor routines in XLIB | GR8FUL::HERBERT | Orwell was only off by a few years | Fri Oct 27 1989 16:21 | 8 |
Look at the cursor routines in the XLIB documentation. Basically, you create a cursor in a variety of ways (from a pixmap, or from a cursor font), and then associate that cursor with the window you want it displayed in. After you have the cursor created, just do XDefineCursor(XtDisplay(widget),XtWindow(widget), cursor). Kevin | |||||
1635.2 | exit | RABBET::FARRELL | Money, there is no substitute! | Thu Nov 09 1989 10:59 | 13 |
RE: .1 - Thank you for your response, but I know how to define a different cursor, what I want to do is get rid of the cursor all together for a particular widget. I will have my program handle the cursor stuff. Is there a way to do this? If not, what is the best cursor to use for least visibility. (i.e. is there a tiny dot cursor? Dot itself is too big).? advTHANKSance, $$$$ ted $$$$ | |||||
1635.3 | null cursor | TOOLEY::B_WACKER | Thu Nov 09 1989 11:46 | 2 | |
Just make your own ursor with a stipple that doesn't let anything appear. |