Window.getModal

bool getModal()

Returns whether the window is modal. See [gtk.window.Window.setModal].

Returns

true if the window is set to be modal and

establishes a grab when shown