Class WaylandDevice
- Namespace
- GdkWayland
- Assembly
- GdkWayland-4.0.dll
public class WaylandDevice : Device, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
WaylandDevice
- Implements
- Inherited Members
Constructors
WaylandDevice(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 WaylandDevice(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WaylandDevice(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WaylandDevice(CreationData data)
Parameters
dataCreationData
WaylandDevice(WaylandDeviceHandle)
protected WaylandDevice(WaylandDeviceHandle handle)
Parameters
handleWaylandDeviceHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetNodePath()
public string? GetNodePath()
Returns
NewFromPointer(nint, bool)
Creates a new managed WaylandDevice instance for a given pointer.
public static WaylandDevice NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WaylandDevice and sets the properties specified by the construct arguments.
public static WaylandDevice NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.