Table of Contents

Class WaylandDisplay

Namespace
GdkWayland
Assembly
GdkWayland-4.0.dll
public class WaylandDisplay : Display, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
WaylandDisplay
Implements
Inherited Members

Constructors

WaylandDisplay(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 WaylandDisplay(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WaylandDisplay(CreationData)

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

Parameters

data CreationData

WaylandDisplay(WaylandDisplayHandle)

protected WaylandDisplay(WaylandDisplayHandle handle)

Parameters

handle WaylandDisplayHandle

Methods

GetEglDisplay()

[Version("4.4")]
public nint GetEglDisplay()

Returns

nint

GetGType()

public static Type GetGType()

Returns

Type

GetStartupNotificationId()

public string? GetStartupNotificationId()

Returns

string

NewFromPointer(nint, bool)

Creates a new managed WaylandDisplay instance for a given pointer.

public static WaylandDisplay NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WaylandDisplay

NewWithProperties(ConstructArgument[])

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

public static WaylandDisplay NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WaylandDisplay

QueryRegistry(string)

public bool QueryRegistry(string global)

Parameters

global string

Returns

bool

SetCursorTheme(string, int)

public void SetCursorTheme(string name, int size)

Parameters

name string
size int

SetStartupNotificationId(string)

public void SetStartupNotificationId(string startupId)

Parameters

startupId string