Table of Contents

Class DisplayManager

Namespace
Gdk.Internal
Assembly
Gdk-4.0.dll
public class DisplayManager
Inheritance
DisplayManager
Inherited Members

Methods

Get()

Calls native function gdk_display_manager_get.

public static extern IntPtr Get()

Returns

IntPtr

Transfer ownership: None Nullable: False

GetDefaultDisplay(IntPtr)

Calls native method gdk_display_manager_get_default_display.

public static extern IntPtr GetDefaultDisplay(IntPtr manager)

Parameters

manager IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gdk_display_manager_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

OpenDisplay(IntPtr, NullableUtf8StringHandle)

Calls native method gdk_display_manager_open_display.

public static extern IntPtr OpenDisplay(IntPtr manager, NullableUtf8StringHandle name)

Parameters

manager IntPtr

Transfer ownership: None Nullable: False

name NullableUtf8StringHandle

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: None Nullable: True

SetDefaultDisplay(IntPtr, IntPtr)

Calls native method gdk_display_manager_set_default_display.

public static extern void SetDefaultDisplay(IntPtr manager, IntPtr display)

Parameters

manager IntPtr

Transfer ownership: None Nullable: False

display IntPtr

Transfer ownership: None Nullable: False