Table of Contents

Class WaylandToplevel

Namespace
GdkWayland.Internal
Assembly
GdkWayland-4.0.dll
public class WaylandToplevel
Inheritance
WaylandToplevel
Inherited Members

Methods

DropExportedHandle(nint, NonNullableUtf8StringHandle)

Calls native method gdk_wayland_toplevel_drop_exported_handle. Version: 4.12

[Version("4.12")]
public static extern void DropExportedHandle(nint toplevel, NonNullableUtf8StringHandle handle)

Parameters

toplevel nint

Transfer ownership: None Nullable: False

handle NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

ExportHandle(nint, WaylandToplevelExported, nint, DestroyNotify)

Calls native method gdk_wayland_toplevel_export_handle.

public static extern bool ExportHandle(nint toplevel, WaylandToplevelExported callback, nint userData, DestroyNotify destroyFunc)

Parameters

toplevel nint

Transfer ownership: None Nullable: False

callback WaylandToplevelExported

Transfer ownership: None Nullable: False

userData nint

Transfer ownership: None Nullable: True

destroyFunc DestroyNotify

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetGType()

Calls native function gdk_wayland_toplevel_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

SetApplicationId(nint, NonNullableUtf8StringHandle)

Calls native method gdk_wayland_toplevel_set_application_id.

public static extern void SetApplicationId(nint toplevel, NonNullableUtf8StringHandle applicationId)

Parameters

toplevel nint

Transfer ownership: None Nullable: False

applicationId NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

SetTransientForExported(nint, NonNullableUtf8StringHandle)

Calls native method gdk_wayland_toplevel_set_transient_for_exported.

public static extern bool SetTransientForExported(nint toplevel, NonNullableUtf8StringHandle parentHandleStr)

Parameters

toplevel nint

Transfer ownership: None Nullable: False

parentHandleStr NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

UnexportHandle(nint)

Calls native method gdk_wayland_toplevel_unexport_handle.

public static extern void UnexportHandle(nint toplevel)

Parameters

toplevel nint

Transfer ownership: None Nullable: False