Table of Contents

Class SnippetChunk

Namespace
GtkSource
Assembly
GtkSource-5.dll
public class SnippetChunk : InitiallyUnowned, IObject, INotifyPropertyChanged, IDisposable, IHandle, GTypeProvider
Inheritance
SnippetChunk
Implements
Inherited Members

Constructors

SnippetChunk()

public SnippetChunk()

SnippetChunk(params ConstructArgument[])

protected SnippetChunk(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

SnippetChunk(IntPtr, bool)

protected SnippetChunk(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

ContextPropertyDefinition

public static readonly Property<SnippetContext?, SnippetChunk> ContextPropertyDefinition

Field Value

Property<SnippetContext, SnippetChunk>

FocusPositionPropertyDefinition

public static readonly Property<int, SnippetChunk> FocusPositionPropertyDefinition

Field Value

Property<int, SnippetChunk>

SpecPropertyDefinition

public static readonly Property<string?, SnippetChunk> SpecPropertyDefinition

Field Value

Property<string, SnippetChunk>

TextPropertyDefinition

public static readonly Property<string?, SnippetChunk> TextPropertyDefinition

Field Value

Property<string, SnippetChunk>

TextSetPropertyDefinition

public static readonly Property<bool, SnippetChunk> TextSetPropertyDefinition

Field Value

Property<bool, SnippetChunk>

TooltipTextPropertyDefinition

public static readonly Property<string?, SnippetChunk> TooltipTextPropertyDefinition

Field Value

Property<string, SnippetChunk>

Properties

Context

public SnippetContext? Context { get; set; }

Property Value

SnippetContext

FocusPosition

public int FocusPosition { get; set; }

Property Value

int

Spec

public string? Spec { get; set; }

Property Value

string

Text

public string? Text { get; set; }

Property Value

string

TextSet

public bool TextSet { get; set; }

Property Value

bool

TooltipText

public string? TooltipText { get; set; }

Property Value

string

Methods

Copy()

public SnippetChunk Copy()

Returns

SnippetChunk

GetContext()

public SnippetContext GetContext()

Returns

SnippetContext

GetFocusPosition()

public int GetFocusPosition()

Returns

int

GetGType()

public static Type GetGType()

Returns

Type

GetSpec()

public string? GetSpec()

Returns

string

GetText()

public string GetText()

Returns

string

GetTextSet()

public bool GetTextSet()

Returns

bool

GetTooltipText()

public string GetTooltipText()

Returns

string

New()

public static SnippetChunk New()

Returns

SnippetChunk

SetContext(SnippetContext)

public void SetContext(SnippetContext context)

Parameters

context SnippetContext

SetFocusPosition(int)

public void SetFocusPosition(int focusPosition)

Parameters

focusPosition int

SetSpec(string)

public void SetSpec(string spec)

Parameters

spec string

SetText(string)

public void SetText(string text)

Parameters

text string

SetTextSet(bool)

public void SetTextSet(bool textSet)

Parameters

textSet bool

SetTooltipText(string)

public void SetTooltipText(string tooltipText)

Parameters

tooltipText string