Annotation
Object Hierarchy:
Description:
[
CCode ( type_id =
"gtk_source_annotation_get_type ()" ) ]
[
Version ( since =
"5.18" ) ]
public class Annotation :
Object
Represents an annotation added to [class@View], it has a [property@Annotation:line] property, [property@Annotation:description], icon and
a style.
It will be displayed always at the end of a line.
If the style is GTK_SOURCE_ANNOTATION_STYLE_NONE it will use the same color as [class@SpaceDrawer].
Content:
Properties:
- public string description { get; }
The text description displayed at [property@Annotation:line]
- public Icon icon { get; }
The icon displayed at [property@Annotation:line]
- public uint line { get; }
The line where to display the annotation
- public AnnotationStyle style { get; }
The style of the annotation
Creation methods:
Methods:
Inherited Members:
All known members inherited from class GLib.Object