Table of Contents

Class GutterLines

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class GutterLines : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
GutterLines
Implements
Inherited Members

Constructors

GutterLines(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public GutterLines(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

GutterLines(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GutterLines(CreationData data)

Parameters

data CreationData

GutterLines(GutterLinesHandle)

protected GutterLines(GutterLinesHandle handle)

Parameters

handle GutterLinesHandle

Methods

AddClass(uint, string)

public void AddClass(uint line, string name)

Parameters

line uint
name string

AddQclass(uint, Quark)

public void AddQclass(uint line, Quark qname)

Parameters

line uint
qname Quark

GetBuffer()

public TextBuffer GetBuffer()

Returns

TextBuffer

GetFirst()

public uint GetFirst()

Returns

uint

GetGType()

public static Type GetGType()

Returns

Type

GetIterAtLine(out TextIter, uint)

public void GetIterAtLine(out TextIter iter, uint line)

Parameters

iter TextIter
line uint

GetLast()

public uint GetLast()

Returns

uint

GetLineExtent(uint, GutterRendererAlignmentMode, out double, out double)

[Version("5.18")]
public void GetLineExtent(uint line, GutterRendererAlignmentMode mode, out double y, out double height)

Parameters

line uint
mode GutterRendererAlignmentMode
y double
height double

GetLineYrange(uint, GutterRendererAlignmentMode, out int, out int)

public void GetLineYrange(uint line, GutterRendererAlignmentMode mode, out int y, out int height)

Parameters

line uint
mode GutterRendererAlignmentMode
y int
height int

GetView()

public TextView GetView()

Returns

TextView

HasAnyClass(uint)

[Version("5.6")]
public bool HasAnyClass(uint line)

Parameters

line uint

Returns

bool

HasClass(uint, string)

public bool HasClass(uint line, string name)

Parameters

line uint
name string

Returns

bool

HasQclass(uint, Quark)

public bool HasQclass(uint line, Quark qname)

Parameters

line uint
qname Quark

Returns

bool

IsCursor(uint)

public bool IsCursor(uint line)

Parameters

line uint

Returns

bool

IsPrelit(uint)

public bool IsPrelit(uint line)

Parameters

line uint

Returns

bool

IsSelected(uint)

public bool IsSelected(uint line)

Parameters

line uint

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed GutterLines instance for a given pointer.

public static GutterLines NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

GutterLines

NewWithProperties(ConstructArgument[])

Creates a new GutterLines and sets the properties specified by the construct arguments.

public static GutterLines NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

GutterLines

RemoveClass(uint, string)

public void RemoveClass(uint line, string name)

Parameters

line uint
name string

RemoveQclass(uint, Quark)

public void RemoveQclass(uint line, Quark qname)

Parameters

line uint
qname Quark