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
constructArgumentsConstructArgument[]
Mark(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Mark(CreationData data)
Parameters
dataCreationData
Mark(MarkHandle)
protected Mark(MarkHandle handle)
Parameters
handleMarkHandle
Fields
CategoryPropertyDefinition
public static readonly Property<string?, Mark> CategoryPropertyDefinition
Field Value
Properties
Category
public string? Category { get; }
Property Value
Methods
GetCategory()
public string GetCategory()
Returns
GetGType()
public static Type GetGType()
Returns
New(string?, string)
public static Mark New(string? name, string category)
Parameters
Returns
NewFromPointer(nint, bool)
Creates a new managed Mark instance for a given pointer.
public static Mark NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Mark and sets the properties specified by the construct arguments.
public static Mark NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Next(string?)
public Mark? Next(string? category)
Parameters
categorystring
Returns
Prev(string?)
public Mark? Prev(string? category)
Parameters
categorystring