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
constructArgumentsConstructArgument[]
GutterLines(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected GutterLines(CreationData data)
Parameters
dataCreationData
GutterLines(GutterLinesHandle)
protected GutterLines(GutterLinesHandle handle)
Parameters
handleGutterLinesHandle
Methods
AddClass(uint, string)
public void AddClass(uint line, string name)
Parameters
AddQclass(uint, Quark)
public void AddQclass(uint line, Quark qname)
Parameters
GetBuffer()
public TextBuffer GetBuffer()
Returns
GetFirst()
public uint GetFirst()
Returns
GetGType()
public static Type GetGType()
Returns
GetIterAtLine(out TextIter, uint)
public void GetIterAtLine(out TextIter iter, uint line)
Parameters
GetLast()
public uint GetLast()
Returns
GetLineExtent(uint, GutterRendererAlignmentMode, out double, out double)
[Version("5.18")]
public void GetLineExtent(uint line, GutterRendererAlignmentMode mode, out double y, out double height)
Parameters
lineuintmodeGutterRendererAlignmentModeydoubleheightdouble
GetLineYrange(uint, GutterRendererAlignmentMode, out int, out int)
public void GetLineYrange(uint line, GutterRendererAlignmentMode mode, out int y, out int height)
Parameters
lineuintmodeGutterRendererAlignmentModeyintheightint
GetView()
public TextView GetView()
Returns
HasAnyClass(uint)
[Version("5.6")]
public bool HasAnyClass(uint line)
Parameters
lineuint
Returns
HasClass(uint, string)
public bool HasClass(uint line, string name)
Parameters
Returns
HasQclass(uint, Quark)
public bool HasQclass(uint line, Quark qname)
Parameters
Returns
IsCursor(uint)
public bool IsCursor(uint line)
Parameters
lineuint
Returns
IsPrelit(uint)
public bool IsPrelit(uint line)
Parameters
lineuint
Returns
IsSelected(uint)
public bool IsSelected(uint line)
Parameters
lineuint
Returns
NewFromPointer(nint, bool)
Creates a new managed GutterLines instance for a given pointer.
public static GutterLines NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new GutterLines and sets the properties specified by the construct arguments.
public static GutterLines NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
RemoveClass(uint, string)
public void RemoveClass(uint line, string name)
Parameters
RemoveQclass(uint, Quark)
public void RemoveQclass(uint line, Quark qname)