Surface

constructor(parent: Surface, autohide: Boolean)

Create a new popup surface.

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

Return

a new GdkSurface

Parameters

parent

the parent surface to attach the surface to

autohide

whether to hide the surface on outside clicks


constructor(display: Display)

Creates a new toplevel surface.

Return

the new GdkSurface

Parameters

display

the display to create the surface on


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>)