Window.setModalHint

The application can use this hint to tell the window manager that a certain window has modal behaviour. The window manager can use this information to handle modal windows in a special way.

You should only use this on windows for which you have previously called Window.setTransientFor

class Window
void
setModalHint
(
bool modal
)

Parameters

modal bool

TRUE if the window is modal, FALSE otherwise.