Completion

constructor()

Allocate a new Completion.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.


constructor(scope: <Error class: unknown class>)

Allocate a new Completion using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

scope

The AutofreeScope to allocate this structure in.


constructor(items: List?, prefix: String?, cache: List?)

Allocate a new Completion.

This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.

Parameters

items

list of target items (strings or data structures).

prefix

the last prefix passed to g_completion_complete() or g_completion_complete_utf8().

cache

the list of items which begin with @prefix.


constructor(items: List?, prefix: String?, cache: List?, scope: <Error class: unknown class>)

Allocate a new Completion using the provided AutofreeScope.

The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped.

Parameters

items

list of target items (strings or data structures).

prefix

the last prefix passed to g_completion_complete() or g_completion_complete_utf8().

cache

the list of items which begin with @prefix.

scope

The AutofreeScope to allocate this structure in.


constructor(pointer: <Error class: unknown class><<Error class: unknown class>>, cleaner: <Error class: unknown class>? = null)