set_transient_for


Description:

public void set_transient_for (Surface parent)

Sets a transient-for parent.

Indicates to the window manager that surface is a transient dialog associated with the application surface parent . This allows the window manager to do things like center surface on parent and keep surface above parent.

See [[email protected]_transient_for] if you’re using [[email protected]] or [[email protected]].

Parameters:

this

a `GdkToplevel`

parent

another toplevel `GdkSurface`




2022 vala-language.org