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
> gtk_widget_set_parent_window () but couldn't get it to work.

Have a look at gtk_window_set_modal() and
gtk_window_set_transient_for() functions.

Tadej

-- 
Tadej Borovšak
tadeboro.blogspot.com
tadeb...@gmail.com
tadej.borov...@gmail.com
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to