how to constrain the cursor in just one screen.

2007-05-24 Thread Liu Jie
Hi, I'm working a GTK based applicaion, which uses double screens. Without any constraint, the user can move the cursor freely from one scrren to another. Now, I want to constrain the cursor in just one screen. How can I do it? Is there a gtk function which can help me solve my problem? Andy

how to constrain the cursor in just one screen.

2007-05-22 Thread Liu Jie
Hi, I'm working a GTK based applicaion, which uses double screens. Without any constraint, the user can move the cursor freely from one scrren to another. Now, I want to constrain the cursor in just one screen. How can I do it? Is there a gtk function which can help me solve my problem? Andy

Re: how to constrain the cursor in just one screen.

2007-05-22 Thread Sven Neumann
Hi, this mailing-list is about development of GTK+. Please ask your question on gtk-list or gtk-app-devel-list. Thanks. Sven PS: Take a look at the confine_to parameter of gdk_pointer_grab(). ___ gtk-devel-list mailing list gtk-devel-list@gnome.org