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




Federico Mena <federico@nuclecu.unam.mx> writes:

> >  > 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.

Just remember that some of us spend a fair bit of time "mousing"
around with a graphics tablet, for which warping the pointer doesn't
work. So you might want to think about whether there is an alternative
way of designing the interface. (Plus, warping the pointer is rather
disorienting for the user in any case.) I would try to come up with a
suggestion, but I can't quite visualize the situation, sorry.

Regards,
                                        Owen



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