How to restrict the mouse pointer in a special window?

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

 



Hi all,

I want to control the mouse pointer in my own window and not out of it.  How could I do? Is there any functions to implement it?

By now, I find that perhaps I could use the leave-notify-event to detect the mouse pointer is leaving the window, but how to restrict it to the right x/y position of the window?

Thanks in advance.



"雪见"杨幂邀你共品3D国韵网游《天下贰》,海报免费领
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux