Surface.newPopup

Create a new popup surface.

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

class Surface
static
newPopup

Parameters

parent gdk.surface.Surface

the parent surface to attach the surface to

autohide bool

whether to hide the surface on outside clicks

Return Value

Type: gdk.surface.Surface