Table of Contents

Class Completion

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

Methods

AddProvider(IntPtr, IntPtr)

Calls native method gtk_source_completion_add_provider.

public static extern void AddProvider(IntPtr self, IntPtr provider)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

provider IntPtr

Transfer ownership: None Nullable: False

BlockInteractive(IntPtr)

Calls native method gtk_source_completion_block_interactive.

public static extern void BlockInteractive(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

FuzzyHighlight(NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)

Calls native function gtk_source_completion_fuzzy_highlight.

public static extern AttrListOwnedHandle FuzzyHighlight(NonNullableUtf8StringHandle haystack, NonNullableUtf8StringHandle casefoldQuery)

Parameters

haystack NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

casefoldQuery NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

AttrListOwnedHandle

Transfer ownership: Full Nullable: True

FuzzyMatch(NullableUtf8StringHandle, NonNullableUtf8StringHandle, out uint)

Calls native function gtk_source_completion_fuzzy_match.

public static extern bool FuzzyMatch(NullableUtf8StringHandle haystack, NonNullableUtf8StringHandle casefoldNeedle, out uint priority)

Parameters

haystack NullableUtf8StringHandle

Transfer ownership: None Nullable: True

casefoldNeedle NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

priority uint

Transfer ownership: Full Nullable: False

Returns

bool

Transfer ownership: None Nullable: False

GetBuffer(IntPtr)

Calls native method gtk_source_completion_get_buffer.

public static extern IntPtr GetBuffer(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

GetGType()

Calls native function gtk_source_completion_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

GetPageSize(IntPtr)

Calls native method gtk_source_completion_get_page_size.

public static extern uint GetPageSize(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

uint

Transfer ownership: None Nullable: False

GetView(IntPtr)

Calls native method gtk_source_completion_get_view.

public static extern IntPtr GetView(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

Returns

IntPtr

Transfer ownership: None Nullable: False

Hide(IntPtr)

Calls native method gtk_source_completion_hide.

public static extern void Hide(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

RemoveProvider(IntPtr, IntPtr)

Calls native method gtk_source_completion_remove_provider.

public static extern void RemoveProvider(IntPtr self, IntPtr provider)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

provider IntPtr

Transfer ownership: None Nullable: False

SetPageSize(IntPtr, uint)

Calls native method gtk_source_completion_set_page_size.

public static extern void SetPageSize(IntPtr self, uint pageSize)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

pageSize uint

Transfer ownership: None Nullable: False

Show(IntPtr)

Calls native method gtk_source_completion_show.

public static extern void Show(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False

UnblockInteractive(IntPtr)

Calls native method gtk_source_completion_unblock_interactive.

public static extern void UnblockInteractive(IntPtr self)

Parameters

self IntPtr

Transfer ownership: None Nullable: False