[ CCode ( type_id = "gtk_source_annotation_provider_get_type ()" ) ]
[ Version ( since = "5.18" ) ]
public class AnnotationProvider : Object
It is used to provide annotations and display them on [class@View] and also populate [class@HoverDisplay] when the user hovers over an annotation.
You can subclass this object and implement [method@AnnotationProvider.populate_hover_async] and [
method@AnnotationProvider.populate_hover_finish] or connect to [signal@AnnotationProvider:GtkSourceAnnotationProvider:populate
] and call [method@AnnotationProvider.populate] or do it asynchronously.