Window.getModal

bool getModal()

Returns whether the window is modal.

Returns

true if the window is set to be modal and

establishes a grab when shown