Present this after having processed the `GdkPopupLayout` rules.
If the popup was previously now showing, it will be showed, otherwise it will change position according to layout
.
After calling this function, the result should be handled in response to the [signal@GdkSurface:GdkPopup:layout
] signal
being emitted. The resulting popup position can be queried using [[email protected]_position_x], [[email protected]_position_y], and
the resulting size will be sent as parameters in the layout signal. Use [[email protected]_rect_anchor] and [
[email protected]_surface_anchor] to get the resulting anchors.
Presenting may fail, for example if the this is set to autohide and is immediately hidden upon being
presented. If presenting failed, the [[email protected]:GdkPopup:layout
] signal will not me emitted.
this |
the `GdkPopup` to show |
width |
the unconstrained popup width to layout |
height |
the unconstrained popup height to layout |
layout |
the `GdkPopupLayout` object used to layout |
false if it failed to be presented, otherwise true. |