Table of Contents

Class Tag

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

Tag(CreationData)

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

Parameters

data CreationData

Tag(TagHandle)

protected Tag(TagHandle handle)

Parameters

handle TagHandle

Fields

DrawSpacesPropertyDefinition

public static readonly Property<bool, Tag> DrawSpacesPropertyDefinition

Field Value

Property<bool, Tag>

DrawSpacesSetPropertyDefinition

public static readonly Property<bool, Tag> DrawSpacesSetPropertyDefinition

Field Value

Property<bool, Tag>

Properties

DrawSpaces

public bool DrawSpaces { get; set; }

Property Value

bool

DrawSpacesSet

public bool DrawSpacesSet { get; set; }

Property Value

bool

Methods

GetGType()

public static Type GetGType()

Returns

Type

New(string?)

public static Tag New(string? name)

Parameters

name string

Returns

Tag

NewFromPointer(nint, bool)

Creates a new managed Tag instance for a given pointer.

public static Tag NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Tag

NewWithProperties(ConstructArgument[])

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

public static Tag NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Tag