Table of Contents

Class CompletionProvider

Namespace
GtkSource.Internal
Assembly
GtkSource-5.dll
public class CompletionProvider
Inheritance
CompletionProvider
Inherited Members

Methods

Activate(IntPtr, IntPtr, IntPtr)

Calls native method gtk_source_completion_provider_activate.

public static extern void Activate(IntPtr self, IntPtr context, IntPtr proposal)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

proposal IntPtr

Transfer ownership: None Nullable: False

Display(IntPtr, IntPtr, IntPtr, IntPtr)

Calls native method gtk_source_completion_provider_display.

public static extern void Display(IntPtr self, IntPtr context, IntPtr proposal, IntPtr cell)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

proposal IntPtr

Transfer ownership: None Nullable: False

cell IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_source_completion_provider_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPriority(IntPtr, IntPtr)

Calls native method gtk_source_completion_provider_get_priority.

public static extern int GetPriority(IntPtr self, IntPtr context)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

Returns

int

Transfer ownership: None Nullable: False

GetTitle(IntPtr)

Calls native method gtk_source_completion_provider_get_title.

public static extern NullableUtf8StringOwnedHandle GetTitle(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

IsTrigger(IntPtr, TextIterHandle, uint)

Calls native method gtk_source_completion_provider_is_trigger.

public static extern bool IsTrigger(IntPtr self, TextIterHandle iter, uint ch)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

iter TextIterHandle

Transfer ownership: None Nullable: False

ch uint

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

KeyActivates(IntPtr, IntPtr, IntPtr, uint, ModifierType)

Calls native method gtk_source_completion_provider_key_activates.

public static extern bool KeyActivates(IntPtr self, IntPtr context, IntPtr proposal, uint keyval, ModifierType state)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

proposal IntPtr

Transfer ownership: None Nullable: False

keyval uint

Transfer ownership: None Nullable: False

state ModifierType

Transfer ownership: None Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

ListAlternates(IntPtr, IntPtr, IntPtr)

Calls native method gtk_source_completion_provider_list_alternates.

public static extern IntPtr ListAlternates(IntPtr self, IntPtr context, IntPtr proposal)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

proposal IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: Full Nullable: True

PopulateAsync(IntPtr, IntPtr, IntPtr, AsyncReadyCallback, IntPtr)

Calls native method gtk_source_completion_provider_populate_async.

public static extern void PopulateAsync(IntPtr self, IntPtr context, IntPtr cancellable, AsyncReadyCallback callback, IntPtr userData)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

cancellable IntPtr

Transfer ownership: None Nullable: True

callback AsyncReadyCallback

Transfer ownership: None Nullable: True

userData IntPtr

Transfer ownership: None Nullable: True

PopulateFinish(IntPtr, IntPtr, out ErrorOwnedHandle)

Calls native method gtk_source_completion_provider_populate_finish.

public static extern IntPtr PopulateFinish(IntPtr self, IntPtr result, out ErrorOwnedHandle error)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

result IntPtr

Transfer ownership: None Nullable: False

error ErrorOwnedHandle

Returns

IntPtr

Transfer ownership: Full Nullable: False

Refilter(IntPtr, IntPtr, IntPtr)

Calls native method gtk_source_completion_provider_refilter.

public static extern void Refilter(IntPtr self, IntPtr context, IntPtr model)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

context IntPtr

Transfer ownership: None Nullable: False

model IntPtr

Transfer ownership: None Nullable: False