Table of Contents

Class WaylandSurface

Namespace
GdkWayland
Assembly
GdkWayland-4.0.dll
public class WaylandSurface : Surface, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
WaylandSurface
Implements
Derived
Inherited Members

Constructors

WaylandSurface(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public WaylandSurface(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WaylandSurface(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WaylandSurface(CreationData data)

Parameters

data CreationData

WaylandSurface(WaylandSurfaceHandle)

protected WaylandSurface(WaylandSurfaceHandle handle)

Parameters

handle WaylandSurfaceHandle

Methods

ForceNextCommit()

[Version("4.18")]
public void ForceNextCommit()

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed WaylandSurface instance for a given pointer.

public static WaylandSurface NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WaylandSurface

NewWithProperties(ConstructArgument[])

Creates a new WaylandSurface and sets the properties specified by the construct arguments.

public static WaylandSurface NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WaylandSurface