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

Re: GTK+ & OpenGL



Abhir Joshi <abhir@vsnl.net> writes:

> Using GTK+-1.2, is it possible to get exclusive control of the mouse
> and not allow the mouse pointer to move to any other window?

gtk_grab_add() and gtk_grab_remove() allow to caputre the mouse in a
gtk-widget, so that it gets the controlls exclusivly:

http://developer.gnome.org/doc/API/2.2/gtk/gtk-General.html#gtk-grab-add

> In all the cases, I want my application to run at full screen mode.

Gimp-1.3 does that, so it should be possible, but thats Gtk2.0.

-- 
WWW:      http://pingus.seul.org/~grumbel/ 
Games:    http://pingus.seul.org/~grumbel/gamedesigns/
JabberID: grumbel@jabber.org 
ICQ:      59461927