Re: [GtkGLExt] First person shooter games - mouse movement



On Fri, Jan 15, 2010 at 03:50:03PM -0800, Peter Sivak wrote:
> Is there any function to tell the gtkmm window manager, that when I position
> the mouse pointer over the window, the mouse pointer will "stick" to that
> window and only for example after the ESCAPE click, the mouse pointer
> "release" from the window and become again the normal pointer?

You can grab the pointer. See gdk_pointer_grab(), which is a GTK+
function.  You should be able to find an equivalent in gtkmm.

		Mukund


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