Table of Contents

Class Cursor

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

Methods

GetFallback(IntPtr)

Calls native method gdk_cursor_get_fallback.

public static extern IntPtr GetFallback(IntPtr cursor)

Parameters

cursor IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

GetGType()

Calls native function gdk_cursor_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetHotspotX(IntPtr)

Calls native method gdk_cursor_get_hotspot_x.

public static extern int GetHotspotX(IntPtr cursor)

Parameters

cursor IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetHotspotY(IntPtr)

Calls native method gdk_cursor_get_hotspot_y.

public static extern int GetHotspotY(IntPtr cursor)

Parameters

cursor IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetName(IntPtr)

Calls native method gdk_cursor_get_name.

public static extern NullableUtf8StringUnownedHandle GetName(IntPtr cursor)

Parameters

cursor IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringUnownedHandle

Transfer ownership: None Nullable: True

GetTexture(IntPtr)

Calls native method gdk_cursor_get_texture.

public static extern IntPtr GetTexture(IntPtr cursor)

Parameters

cursor IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: True

NewFromName(NonNullableUtf8StringHandle, IntPtr)

Calls native constructor gdk_cursor_new_from_name.

public static extern IntPtr NewFromName(NonNullableUtf8StringHandle name, IntPtr fallback)

Parameters

name NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

fallback IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: True

NewFromTexture(IntPtr, int, int, IntPtr)

Calls native constructor gdk_cursor_new_from_texture.

public static extern IntPtr NewFromTexture(IntPtr texture, int hotspotX, int hotspotY, IntPtr fallback)

Parameters

texture IntPtr

Transfer ownership: None Nullable: False

hotspotX int

Transfer ownership: None Nullable: False

hotspotY int

Transfer ownership: None Nullable: False

fallback IntPtr

Transfer ownership: None Nullable: True

Returns

IntPtr

Transfer ownership: Full Nullable: False