Toplevel.present

Present toplevel after having processed the gdk.toplevel_layout.ToplevelLayout rules.

If the toplevel was previously not showing, it will be showed, otherwise it will change layout according to layout.

GDK may emit the signalGdk.Toplevel::compute-size signal to let the user of this toplevel compute the preferred size of the toplevel surface.

Presenting is asynchronous and the specified layout parameters are not guaranteed to be respected.

interface Toplevel
void
present

Parameters

layout gdk.toplevel_layout.ToplevelLayout

the gdk.toplevel_layout.ToplevelLayout object used to layout