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
constructArgumentsConstructArgument[]
AnnotationProvider(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected AnnotationProvider(CreationData data)
Parameters
dataCreationData
AnnotationProvider(AnnotationProviderHandle)
protected AnnotationProvider(AnnotationProviderHandle handle)
Parameters
handleAnnotationProviderHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<AnnotationProvider> ChangedSignal
Field Value
Methods
AddAnnotation(Annotation)
[Version("5.18")]
public void AddAnnotation(Annotation annotation)
Parameters
annotationAnnotation
GetGType()
public static Type GetGType()
Returns
New()
[Version("5.18")]
public static AnnotationProvider New()
Returns
NewFromPointer(nint, bool)
Creates a new managed AnnotationProvider instance for a given pointer.
public static AnnotationProvider NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new AnnotationProvider and sets the properties specified by the construct arguments.
public static AnnotationProvider NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
PopulateHoverFinish(AsyncResult)
[Version("5.18")]
public bool PopulateHoverFinish(AsyncResult result)
Parameters
resultAsyncResult
Returns
RemoveAll()
[Version("5.18")]
public void RemoveAll()
RemoveAnnotation(Annotation)
[Version("5.18")]
public bool RemoveAnnotation(Annotation annotation)
Parameters
annotationAnnotation
Returns
Events
OnChanged
public event SignalHandler<AnnotationProvider> OnChanged