Class: GtkSource::AnnotationProvider
- Inherits:
-
Object
- Object
- GtkSource::AnnotationProvider
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#add_annotation(annotation) ⇒ nil
Add an annotation to the provider.
-
#initialize ⇒ GtkSource::AnnotationProvider
constructor
Used to create a new annotation provider.
-
#populate_hover_async(annotation, display, cancellable, callback, user_data) ⇒ nil
Used to populate the [classHoverDisplay] asynchronously, use [methodAnnotationProvider.populate_hover] to do it synchronously.
-
#populate_hover_finish(result) ⇒ Boolean
Finishes populating the [classHoverDisplay] asynchronously.
-
#remove_all ⇒ nil
Removes all annotations from the provider.
-
#remove_annotation(annotation) ⇒ Boolean
Remove an annotation from the provider.
Constructor Details
#initialize ⇒ GtkSource::AnnotationProvider
Used to create a new annotation provider.
Instance Method Details
#add_annotation(annotation) ⇒ nil
Add an annotation to the provider.
#populate_hover_async(annotation, display, cancellable, callback, user_data) ⇒ nil
Used to populate the [classHoverDisplay] asynchronously, use
[methodAnnotationProvider.populate_hover] to do it synchronously.
#populate_hover_finish(result) ⇒ Boolean
Finishes populating the [classHoverDisplay] asynchronously.
#remove_all ⇒ nil
Removes all annotations from the provider.
#remove_annotation(annotation) ⇒ Boolean
Remove an annotation from the provider.