Surface.newPopup

gdk.surface.Surface newPopup(gdk.surface.Surface parent, bool autohide)

Create a new popup surface.

The surface will be attached to parent and can be positioned relative to it using gdk.popup.Popup.present.

Parameters

parentthe parent surface to attach the surface to
autohidewhether to hide the surface on outside clicks

Returns