Q: How to hide mouse cursor when it's within a GtkText?



Hi!

I've written a small program (kind of a graphical frontend to a text
based program which basically is a GtkWindow containing a GtkLayout
containing some GtkText.

I've read the archive(s) of several lists and used the advise to create
an invisible  one-pixel image cursor, which I applied to the GtkWindow.

While the mouse pointer is within the GtkWindow's background area, the
mouse pointer is invisible (as I wish it to be). However, if I enter a
GtkText's area, the mouse's cursor changes from my invisible image to
the "standard" cursor for text areas (this "I"-looking one).

How can I work around that? I want the mouse cursor to *always* be
invisible while the mouse is within my application's window...

Oh, I'm compiling/linking against libgtk+-1.2.10...

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw lug-owl de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/

Attachment: pgp9uXuez5kZk.pgp
Description: PGP signature



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