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
constructArgumentsConstructArgument[]
WaylandDisplay(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WaylandDisplay(CreationData data)
Parameters
dataCreationData
WaylandDisplay(WaylandDisplayHandle)
protected WaylandDisplay(WaylandDisplayHandle handle)
Parameters
handleWaylandDisplayHandle
Methods
GetEglDisplay()
[Version("4.4")]
public nint GetEglDisplay()
Returns
GetGType()
public static Type GetGType()
Returns
GetStartupNotificationId()
public string? GetStartupNotificationId()
Returns
NewFromPointer(nint, bool)
Creates a new managed WaylandDisplay instance for a given pointer.
public static WaylandDisplay NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WaylandDisplay and sets the properties specified by the construct arguments.
public static WaylandDisplay NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
QueryRegistry(string)
public bool QueryRegistry(string global)
Parameters
globalstring
Returns
SetCursorTheme(string, int)
public void SetCursorTheme(string name, int size)
Parameters
SetStartupNotificationId(string)
public void SetStartupNotificationId(string startupId)
Parameters
startupIdstring