RE: Cursor



Title: RE: Cursor

Hello,

I develop an embedded application. To have my window active, I must have the cursor of the mouse inside my window. How can I get my window active without having the mouse cursor on that window ??

Isabelle

-----Message d'origine-----
De : Havoc Pennington [mailto:hp redhat com]
Envoye : lundi 4 fevrier 2002 17:23
A : zze-coframi balr001
Cc : Mailing list GTK+ (E-mail)
Objet : Re: Cursor



zze-coframi balr001 <coframi balr001 rd francetelecom com> writes:
> 1- how to make a mouse pointer invisible

Create a 1x1 bitmap with the bit set, then create a GdkCursor from
that, using the bitmap as mask. So the only pixel in the cursor will
be masked off.

> 2- how to not take into account the events generated by the mouse ?

You could gdk_pointer_grab() on an offscreen GtkInvisible or
something.

Havoc



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