Re: [gtk-list] New function: gdk_pointer_warp()



>  > While writing the GNOME Panel, I noticed that I needed a Gdk
>  > equivalent of XWarpPointer.  So here is my version of
>  just curious, what do you need it for?

The panel is a container for applets.  When you click the right mouse
button on an applet, a pop-up menu appears.  It has "Move applet",
"Remove applet" and "Applet properties" options.  I needed
gdk_pointer_warp() to move the mouse to the applet's center when the
move applet option is chosen.

I guess it may be useful for other strange situations.

  Quartic



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