Table of Contents

Class Completion

Namespace
GLib
Assembly
GLib-2.0.dll
public sealed class Completion
Inheritance
Completion
Inherited Members

Constructors

Completion()

public Completion()

Completion(CompletionOwnedHandle)

public Completion(CompletionOwnedHandle handle)

Parameters

handle CompletionOwnedHandle

Properties

Handle

public CompletionOwnedHandle Handle { get; }

Property Value

CompletionOwnedHandle

Prefix

public string? Prefix { get; set; }

Property Value

string

Methods

AddItems(List)

public void AddItems(List items)

Parameters

items List

ClearItems()

public void ClearItems()

Complete(string, string)

public List Complete(string prefix, string newPrefix)

Parameters

prefix string
newPrefix string

Returns

List

CompleteUtf8(string, string)

[Version("2.4")]
public List CompleteUtf8(string prefix, string newPrefix)

Parameters

prefix string
newPrefix string

Returns

List

Equals(Completion?)

public bool Equals(Completion? other)

Parameters

other Completion

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

Free()

public void Free()

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

RemoveItems(List)

public void RemoveItems(List items)

Parameters

items List