Modal dialogs in Gtk

W

WoodHacker

Can anyone explain why my modal dialogs are not freezing the screen?
I can click on the window behind the dialog window and the dialog
disappears.

dialog = Gtk::Dialog.new(Utils.getT("test"),
$main_application_window,
Gtk::Dialog::DESTROY_WITH_PARENT)

dialog.width_request = 600
dialog.modal = true
dialog.window_position = Gtk::Window::pOS_CENTER_ALWAYS
dialog.transient_for = $main_application_window

........

Everything else about it works fine.

Bill
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,738
Latest member
JinaMacvit

Latest Threads

Top