Table of Contents

Class Mark

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

Constructors

Mark(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 Mark(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

Mark(CreationData)

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

Parameters

data CreationData

Mark(MarkHandle)

protected Mark(MarkHandle handle)

Parameters

handle MarkHandle

Fields

CategoryPropertyDefinition

public static readonly Property<string?, Mark> CategoryPropertyDefinition

Field Value

Property<string, Mark>

Properties

Category

public string? Category { get; }

Property Value

string

Methods

GetCategory()

public string GetCategory()

Returns

string

GetGType()

public static Type GetGType()

Returns

Type

New(string?, string)

public static Mark New(string? name, string category)

Parameters

name string
category string

Returns

Mark

NewFromPointer(nint, bool)

Creates a new managed Mark instance for a given pointer.

public static Mark NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Mark

NewWithProperties(ConstructArgument[])

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

public static Mark NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Mark

Next(string?)

public Mark? Next(string? category)

Parameters

category string

Returns

Mark

Prev(string?)

public Mark? Prev(string? category)

Parameters

category string

Returns

Mark