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
constructArgumentsConstructArgument[]
Annotations(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Annotations(CreationData data)
Parameters
dataCreationData
Annotations(AnnotationsHandle)
protected Annotations(AnnotationsHandle handle)
Parameters
handleAnnotationsHandle
Fields
ChangedSignal
Signal Descriptor for OnChanged.
public static readonly Signal<Annotations> ChangedSignal
Field Value
Methods
AddProvider(AnnotationProvider)
public void AddProvider(AnnotationProvider provider)
Parameters
providerAnnotationProvider
GetGType()
public static Type GetGType()
Returns
NewFromPointer(nint, bool)
Creates a new managed Annotations instance for a given pointer.
public static Annotations NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Annotations and sets the properties specified by the construct arguments.
public static Annotations NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
RemoveProvider(AnnotationProvider)
public bool RemoveProvider(AnnotationProvider provider)
Parameters
providerAnnotationProvider
Returns
Events
OnChanged
public event SignalHandler<Annotations> OnChanged