Surface.popup


Description:

[ CCode ( has_construct_function = false ) ]
public Surface.popup (Surface parent, bool autohide)

Create a new popup surface.

The surface will be attached to parent and can be positioned relative to it using [method@Gdk.Popup.present].

Parameters:

parent

the parent surface to attach the surface to

autohide

whether to hide the surface on outside clicks

Returns:

a new `GdkSurface`