Table of Contents

Class Completion

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

Constructors

Completion(bool, params ConstructArgument[])

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

Parameters

owned bool
constructArguments ConstructArgument[]

Completion(IntPtr, bool)

protected Completion(IntPtr ptr, bool ownedRef)

Parameters

ptr IntPtr
ownedRef bool

Fields

BufferPropertyDefinition

public static readonly Property<TextView?, Completion> BufferPropertyDefinition

Field Value

Property<TextView, Completion>

HideSignal

Signal Descriptor for OnHide.

public static readonly Signal<Completion> HideSignal

Field Value

Signal<Completion>

PageSizePropertyDefinition

public static readonly Property<uint, Completion> PageSizePropertyDefinition

Field Value

Property<uint, Completion>

ProviderAddedSignal

Signal Descriptor for OnProviderAdded.

public static readonly Signal<Completion, Completion.ProviderAddedSignalArgs> ProviderAddedSignal

Field Value

Signal<Completion, Completion.ProviderAddedSignalArgs>

ProviderRemovedSignal

Signal Descriptor for OnProviderRemoved.

public static readonly Signal<Completion, Completion.ProviderRemovedSignalArgs> ProviderRemovedSignal

Field Value

Signal<Completion, Completion.ProviderRemovedSignalArgs>

RememberInfoVisibilityPropertyDefinition

public static readonly Property<bool, Completion> RememberInfoVisibilityPropertyDefinition

Field Value

Property<bool, Completion>

SelectOnShowPropertyDefinition

public static readonly Property<bool, Completion> SelectOnShowPropertyDefinition

Field Value

Property<bool, Completion>

ShowIconsPropertyDefinition

public static readonly Property<bool, Completion> ShowIconsPropertyDefinition

Field Value

Property<bool, Completion>

ShowSignal

Signal Descriptor for OnShow.

public static readonly Signal<Completion> ShowSignal

Field Value

Signal<Completion>

ViewPropertyDefinition

public static readonly Property<View?, Completion> ViewPropertyDefinition

Field Value

Property<View, Completion>

Properties

Buffer

public TextView? Buffer { get; }

Property Value

TextView

PageSize

public uint PageSize { get; set; }

Property Value

uint

RememberInfoVisibility

public bool RememberInfoVisibility { get; set; }

Property Value

bool

SelectOnShow

public bool SelectOnShow { get; set; }

Property Value

bool

ShowIcons

public bool ShowIcons { get; set; }

Property Value

bool

View

public View? View { get; }

Property Value

View

Methods

AddProvider(CompletionProvider)

public void AddProvider(CompletionProvider provider)

Parameters

provider CompletionProvider

BlockInteractive()

public void BlockInteractive()

FuzzyHighlight(string, string)

public static AttrList? FuzzyHighlight(string haystack, string casefoldQuery)

Parameters

haystack string
casefoldQuery string

Returns

AttrList

FuzzyMatch(string?, string, out uint)

public static bool FuzzyMatch(string? haystack, string casefoldNeedle, out uint priority)

Parameters

haystack string
casefoldNeedle string
priority uint

Returns

bool

GetBuffer()

public Buffer GetBuffer()

Returns

Buffer

GetGType()

public static Type GetGType()

Returns

Type

GetPageSize()

public uint GetPageSize()

Returns

uint

GetView()

public View GetView()

Returns

View

Hide()

public void Hide()

RemoveProvider(CompletionProvider)

public void RemoveProvider(CompletionProvider provider)

Parameters

provider CompletionProvider

SetPageSize(uint)

public void SetPageSize(uint pageSize)

Parameters

pageSize uint

Show()

public void Show()

UnblockInteractive()

public void UnblockInteractive()

Events

OnHide

public event SignalHandler<Completion> OnHide

Event Type

SignalHandler<Completion>

OnProviderAdded

public event SignalHandler<Completion, Completion.ProviderAddedSignalArgs> OnProviderAdded

Event Type

SignalHandler<Completion, Completion.ProviderAddedSignalArgs>

OnProviderRemoved

public event SignalHandler<Completion, Completion.ProviderRemovedSignalArgs> OnProviderRemoved

Event Type

SignalHandler<Completion, Completion.ProviderRemovedSignalArgs>

OnShow

public event SignalHandler<Completion> OnShow

Event Type

SignalHandler<Completion>