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 gdk_window_set_transient_for()

class Window
void
setModalHint
(
bool modal
)

Parameters

modal bool

%TRUE if the window is modal, %FALSE otherwise.

Meta