Grabbing mouse and keyboard in a GnomeDialog
- From: Damien Miller <djm mindrot org>
- To: gnome-list gnome org
- Subject: Grabbing mouse and keyboard in a GnomeDialog
- Date: Fri, 12 Nov 1999 10:53:48 +1100 (EST)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have a small application (a passphrase requestor for OpenSSH) which
opens up a single window (a GnomeDialog).
I would like to be able to force focus to the window when the
application is run and prevent it from losing focus until the window
is closed.
How can I do this?
I suspect that the gdk_keyboard_grab and gdk_pointer_grab are what I
want, but I can't see how to get a GdkWindow from my GnomeDialog. Or
am I on the wrong track entirely?
Regards,
Damien Miller
- --
| "Bombay is 250ms from New York in the new world order" - Alan Cox
| Damien Miller - http://www.mindrot.org/
| Email: djm@mindrot.org (home) -or- djm@ibs.com.au (work)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE4K1cQormJ9RG1dI8RApL8AKDIFJRyHq4tuhF2J2+4XVASWtMGFQCgr2b7
kkPFqrwjhZWxkXS5nCtBGZk=
=lgAS
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]