Re: gdk_gc_predraw error



On Thu, 23 Aug 2001 12:04:29 +0800, yy <yynuaa 163 com>  said:

> One is how to hide cursor? I don't want to show cursor.

I can't help you with your actual question, but...

Please keep in mind that most people *expect* that there be a cursor,
even if it's in the way.  Making the cursor dissapear entirely (rather
than making it perhaps smaller and less annoying) will cause people to
wonder why this buggy program keeps making the cursor dissapear.

Presumably the reason for hiding the cursor is that you have some
Very Important Display that you do not want the cursor obscuring.
THe only major exception to the following is for programs like
gnome-terminal, that manage *two* cursors (the text and mouse
cursors) that hide the mouse cursor while typing is going on.
gnome-terminal however *restores* the mouse cursor as soon as
a mouse motion is detected (see 2 below).

1) If users moved the cursor to obscure something, they can move it
off again.

2) Those of us who sometimes lose sight of the cursor and like to
jiggle the mouse a few pixels so we can find it get upset when that
doesn't work.

3) If there are small details in the display area that can actually
be obscured, it's probably time to provide a zoom-in feature or
render everything larger - consider that in most xterm-like programs,
the cursor can obscure *one character*. Be kind to those of us who
don't have excellent vision anymore, and draw stuff bigger. ;) 

4) Instead of *hiding* the cursor, you might wish to consider putting
your Important Display inside a widget, then tracking the mouse/cursor,
and if it tries to enter that widget, it uses WarpCursor to relocate
the cursor to just OUSIDE.  This will create a "cant go in there" box
around your data, which should confuse the users less than a cursor
that totally dissapears.


				Valdis Kletnieks
				Operating Systems Analyst
				Virginia Tech




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]