Focus of about dialog



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I've added an about dialog to my gtk application, using GtkAboutDialog.
However, when the dialog is displayed, the user can still switch to the
main window, which is undesirable. The dialog should steal focus of the
whole application. How can I do that ? I have looked at
gtk_widget_set_parent_window () but couldn't get it to work.

- --
Vikraman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJL/WPwAAoJEBEjnI2DXTclB6gH/0qpyu00txqzt4MC9u0EK3ao
lWGRlF/KjJUmvQQuRIZx0q1ulL6qsNR45xLpIeLYWDMzo85fi8njq1G3K4M7Xxpv
J4+Pl6AUbRufUmD5pSyHYPvJDRFKRnJUWhBD/Un4oA8VGzAAevd1oK3CL82FROYr
itRIE8PPVL/hEQxSTTfEeeE70g55LVWyp4ImXGkZlMzUiqr/poDPSWpT2UKKlLyu
THgfemq8BSGf52/8Vh4XANYW/LqZI+PksyZoYcp8dQv+l6QHmrQ/J8H4k3scO667
9p4axQDEY4ajZ0KtATHRKUWF8PM/ekp4AJLCx86V1vBsuPqU77ZBYyXTk8YEG8o=
=cCNo
-----END PGP SIGNATURE-----



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