Table of Contents

Class Annotations

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class Annotations : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
Annotations
Implements
Inherited Members

Constructors

Annotations(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 Annotations(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Annotations(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Annotations(CreationData data)

Parameters

data CreationData

Annotations(AnnotationsHandle)

protected Annotations(AnnotationsHandle handle)

Parameters

handle AnnotationsHandle

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<Annotations> ChangedSignal

Field Value

Signal<Annotations>

Methods

AddProvider(AnnotationProvider)

public void AddProvider(AnnotationProvider provider)

Parameters

provider AnnotationProvider

GetGType()

public static Type GetGType()

Returns

Type

NewFromPointer(nint, bool)

Creates a new managed Annotations instance for a given pointer.

public static Annotations NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Annotations

NewWithProperties(ConstructArgument[])

Creates a new Annotations and sets the properties specified by the construct arguments.

public static Annotations NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Annotations

RemoveProvider(AnnotationProvider)

public bool RemoveProvider(AnnotationProvider provider)

Parameters

provider AnnotationProvider

Returns

bool

Events

OnChanged

public event SignalHandler<Annotations> OnChanged

Event Type

SignalHandler<Annotations>