GtkSource.Annotations¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Fields¶
- Inherited:
Class Details¶
- class GtkSource.Annotations(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Use this object to manage [class`Annotation`]s. Each [class`View`] has a single annotation manager and it is guaranteed to be the same for the lifetime of [class`View`].
Add [class`AnnotationProvider`]s with [method`Annotations`.add_provider] to display all the annotations added to each [class`AnnotationProvider`].
New in version 5.18.
- add_provider(provider)¶
- Parameters:
provider (
GtkSource.AnnotationProvider) – aGtkSource.AnnotationProvider.
Adds a new annotation provider.
- remove_provider(provider)¶
- Parameters:
provider (
GtkSource.AnnotationProvider) – aGtkSource.AnnotationProvider.- Returns:
Trueif the provider was found and removed- Return type:
Removes a provider.
Signal Details¶
- GtkSource.Annotations.signals.changed(annotations)¶
- Signal Name:
changed- Flags:
- Parameters:
annotations (
GtkSource.Annotations) – The object which received the signal