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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top