Table of Contents

Class AnnotationProvider

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

AnnotationProvider(CreationData)

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

Parameters

data CreationData

AnnotationProvider(AnnotationProviderHandle)

protected AnnotationProvider(AnnotationProviderHandle handle)

Parameters

handle AnnotationProviderHandle

Fields

ChangedSignal

Signal Descriptor for OnChanged.

public static readonly Signal<AnnotationProvider> ChangedSignal

Field Value

Signal<AnnotationProvider>

Methods

AddAnnotation(Annotation)

[Version("5.18")]
public void AddAnnotation(Annotation annotation)

Parameters

annotation Annotation

GetGType()

public static Type GetGType()

Returns

Type

New()

[Version("5.18")]
public static AnnotationProvider New()

Returns

AnnotationProvider

NewFromPointer(nint, bool)

Creates a new managed AnnotationProvider instance for a given pointer.

public static AnnotationProvider NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

AnnotationProvider

NewWithProperties(ConstructArgument[])

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

public static AnnotationProvider NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

AnnotationProvider

PopulateHoverFinish(AsyncResult)

[Version("5.18")]
public bool PopulateHoverFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

bool

RemoveAll()

[Version("5.18")]
public void RemoveAll()

RemoveAnnotation(Annotation)

[Version("5.18")]
public bool RemoveAnnotation(Annotation annotation)

Parameters

annotation Annotation

Returns

bool

Events

OnChanged

public event SignalHandler<AnnotationProvider> OnChanged

Event Type

SignalHandler<AnnotationProvider>