Table of Contents

Class CompletionSnippets

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

Constructors

CompletionSnippets(bool, params ConstructArgument[])

protected CompletionSnippets(bool owned, params ConstructArgument[] constructArguments)

Parameters

owned bool
constructArguments ConstructArgument[]

CompletionSnippets(IntPtr, bool)

protected CompletionSnippets(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

PriorityPropertyDefinition

public static readonly Property<int, CompletionSnippets> PriorityPropertyDefinition

Field Value

Property<int, CompletionSnippets>

TitlePropertyDefinition

public static readonly Property<string?, CompletionSnippets> TitlePropertyDefinition

Field Value

Property<string, CompletionSnippets>

Properties

Priority

public int Priority { get; set; }

Property Value

int

Title

public string? Title { get; set; }

Property Value

string

Methods

Activate(CompletionContext, CompletionProposal)

public void Activate(CompletionContext context, CompletionProposal proposal)

Parameters

context CompletionContext
proposal CompletionProposal

Display(CompletionContext, CompletionProposal, CompletionCell)

public void Display(CompletionContext context, CompletionProposal proposal, CompletionCell cell)

Parameters

context CompletionContext
proposal CompletionProposal
cell CompletionCell

GetGType()

public static Type GetGType()

Returns

Type

GetPriority(CompletionContext)

public int GetPriority(CompletionContext context)

Parameters

context CompletionContext

Returns

int

GetTitle()

public string? GetTitle()

Returns

string

IsTrigger(TextIter, uint)

public bool IsTrigger(TextIter iter, uint ch)

Parameters

iter TextIter
ch uint

Returns

bool

KeyActivates(CompletionContext, CompletionProposal, uint, ModifierType)

public bool KeyActivates(CompletionContext context, CompletionProposal proposal, uint keyval, ModifierType state)

Parameters

context CompletionContext
proposal CompletionProposal
keyval uint
state ModifierType

Returns

bool

New()

public static CompletionSnippets New()

Returns

CompletionSnippets

PopulateFinish(AsyncResult)

public ListModel PopulateFinish(AsyncResult result)

Parameters

result AsyncResult

Returns

ListModel

Refilter(CompletionContext, ListModel)

public void Refilter(CompletionContext context, ListModel model)

Parameters

context CompletionContext
model ListModel