Class Annotation
- Namespace
- GtkSource
- Assembly
- GtkSource-5.dll
public class Annotation : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
Annotation
- Implements
-
- Inherited Members
-
Constructors
Annotation(params ConstructArgument[])
public Annotation(params ConstructArgument[] constructArguments)
Parameters
constructArguments ConstructArgument[]
Annotation(AnnotationHandle)
public Annotation(AnnotationHandle handle)
Parameters
handle AnnotationHandle
Fields
DescriptionPropertyDefinition
public static readonly Property<string?, Annotation> DescriptionPropertyDefinition
Field Value
- Property<string, Annotation>
IconPropertyDefinition
public static readonly Property<Icon, Annotation> IconPropertyDefinition
Field Value
- Property<Icon, Annotation>
LinePropertyDefinition
public static readonly Property<uint, Annotation> LinePropertyDefinition
Field Value
- Property<uint, Annotation>
StylePropertyDefinition
public static readonly Property<AnnotationStyle, Annotation> StylePropertyDefinition
Field Value
- Property<AnnotationStyle, Annotation>
Properties
Description
public string? Description { get; }
Property Value
- string
Icon
public Icon Icon { get; }
Property Value
- Icon
Line
public uint Line { get; }
Property Value
- uint
Style
public AnnotationStyle Style { get; }
Property Value
- AnnotationStyle
Methods
GetDescription()
public string GetDescription()
Returns
- string
GetGType()
public static Type GetGType()
Returns
- Type
GetIcon()
Returns
- Icon
GetLine()
Returns
- int
GetStyle()
public AnnotationStyle GetStyle()
Returns
- AnnotationStyle
New(string?, Icon?, int, AnnotationStyle)
public static Annotation New(string? description, Icon? icon, int line, AnnotationStyle style)
Parameters
description string
icon Icon
line int
style AnnotationStyle
Returns
- Annotation