How to restrict mouse pointer movement within a certain area using DirectFB?



Hi,
   I need to restrict mouse pointer within a certain area of the window
using DirectFB. I got one idea to use

void gdk_display_warp_pointer
<http://library.gnome.org/devel/gdk/stable/GdkDisplay.html#gdk-display-warp-pointer>
(GdkDisplay <http://library.gnome.org/devel/gdk/stable/GdkDisplay.html>
*display,GdkScreen
<http://library.gnome.org/devel/gdk/stable/GdkScreen.html> *screen,
gint x, gint y);

But, the function is not implemented for DirectFB,  in any of the gtk
distribution. I will be grateful enough for your suggestion regarding my
query


Regards

Dhananjoy.



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