Table of Contents

Class Cursor

Namespace
Gdk
Assembly
Gdk-4.0.dll
public class Cursor : Object, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
Cursor
Implements
Inherited Members

Constructors

Cursor(bool, params ConstructArgument[])

protected Cursor(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

Cursor(IntPtr, bool)

protected Cursor(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

FallbackPropertyDefinition

public static readonly Property<Cursor?, Cursor> FallbackPropertyDefinition

Field Value

Property<Cursor, Cursor>

HotspotXPropertyDefinition

public static readonly Property<int, Cursor> HotspotXPropertyDefinition

Field Value

Property<int, Cursor>

HotspotYPropertyDefinition

public static readonly Property<int, Cursor> HotspotYPropertyDefinition

Field Value

Property<int, Cursor>

NamePropertyDefinition

public static readonly Property<string?, Cursor> NamePropertyDefinition

Field Value

Property<string, Cursor>

TexturePropertyDefinition

public static readonly Property<Texture?, Cursor> TexturePropertyDefinition

Field Value

Property<Texture, Cursor>

Properties

Fallback

public Cursor? Fallback { get; }

Property Value

Cursor

HotspotX

public int HotspotX { get; }

Property Value

int

HotspotY

public int HotspotY { get; }

Property Value

int

Name

public string? Name { get; }

Property Value

string

Texture

public Texture? Texture { get; }

Property Value

Texture

Methods

GetFallback()

public Cursor? GetFallback()

Returns

Cursor

GetGType()

public static Type GetGType()

Returns

Type

GetHotspotX()

public int GetHotspotX()

Returns

int

GetHotspotY()

public int GetHotspotY()

Returns

int

GetName()

public string? GetName()

Returns

string

GetTexture()

public Texture? GetTexture()

Returns

Texture

NewFromName(string, Cursor?)

public static Cursor? NewFromName(string name, Cursor? fallback)

Parameters

name string
fallback Cursor

Returns

Cursor

NewFromTexture(Texture, int, int, Cursor?)

public static Cursor NewFromTexture(Texture texture, int hotspotX, int hotspotY, Cursor? fallback)

Parameters

texture Texture
hotspotX int
hotspotY int
fallback Cursor

Returns

Cursor