Surface.this

Create a new popup surface.

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

  1. this(GdkSurface* gdkSurface, bool ownedRef)
  2. this(Surface parent, bool autohide)
    class Surface
  3. this(Display display)

Parameters

parent Surface

the parent surface to attach the surface to

autohide bool

whether to hide the surface on outside clicks

Return Value

a new GdkSurface

Throws

ConstructionException GTK+ fails to create the object.

Meta