Table of Contents

Class CompletionWords

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

Constructors

CompletionWords(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

CompletionWords(IntPtr, bool)

protected CompletionWords(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

MinimumWordSizePropertyDefinition

public static readonly Property<uint, CompletionWords> MinimumWordSizePropertyDefinition

Field Value

Property<uint, CompletionWords>

PriorityPropertyDefinition

public static readonly Property<int, CompletionWords> PriorityPropertyDefinition

Field Value

Property<int, CompletionWords>

ProposalsBatchSizePropertyDefinition

public static readonly Property<uint, CompletionWords> ProposalsBatchSizePropertyDefinition

Field Value

Property<uint, CompletionWords>

ScanBatchSizePropertyDefinition

public static readonly Property<uint, CompletionWords> ScanBatchSizePropertyDefinition

Field Value

Property<uint, CompletionWords>

TitlePropertyDefinition

public static readonly Property<string?, CompletionWords> TitlePropertyDefinition

Field Value

Property<string, CompletionWords>

Properties

MinimumWordSize

public uint MinimumWordSize { get; set; }

Property Value

uint

Priority

public int Priority { get; set; }

Property Value

int

ProposalsBatchSize

public uint ProposalsBatchSize { get; set; }

Property Value

uint

ScanBatchSize

public uint ScanBatchSize { get; set; }

Property Value

uint

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(string?)

public static CompletionWords New(string? title)

Parameters

title string

Returns

CompletionWords

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

Register(TextBuffer)

public void Register(TextBuffer buffer)

Parameters

buffer TextBuffer

Unregister(TextBuffer)

public void Unregister(TextBuffer buffer)

Parameters

buffer TextBuffer