Modal dialogs in Gtk

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

dialog ="test"),

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.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs