Re: Focus of about dialog

2010-05-31 Thread Calum Benson
On 26 May 2010, at 20:52, Tadej Borovšak wrote: Hello. 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.

Re: Focus of about dialog

2010-05-31 Thread John Emmas
On 31 May 2010, at 17:16, Calum Benson wrote: You might also consider why you consider the behaviour to be 'undesirable', though. Modal dialogs sometimes cause users more problems than modeless ones, especially if, from prior experience (e.g. the About dialog in other gtk+ apps),

Focus of about dialog

2010-05-26 Thread Vikraman Choudhury
-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

Re: Focus of about dialog

2010-05-26 Thread Tadej Borovšak
Hello. 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