Window.getModal

bool getModal() nothrow

Returns whether the window is modal.

Returns

true if the window is set to be modal and

establishes a grab when shown