Table of Contents

Class FilenameCompleter

Namespace
Gio.Internal
Assembly
Gio-2.0.dll
public class FilenameCompleter
Inheritance
FilenameCompleter
Inherited Members

Methods

GetCompletionSuffix(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_filename_completer_get_completion_suffix.

public static extern NullableUtf8StringOwnedHandle GetCompletionSuffix(IntPtr completer, NonNullableUtf8StringHandle initialText)

Parameters

completer IntPtr

Transfer ownership: None Nullable: False

initialText NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

NullableUtf8StringOwnedHandle

Transfer ownership: Full Nullable: True

GetCompletions(IntPtr, NonNullableUtf8StringHandle)

Calls native method g_filename_completer_get_completions.

public static extern Utf8StringArrayNullTerminatedOwnedHandle GetCompletions(IntPtr completer, NonNullableUtf8StringHandle initialText)

Parameters

completer IntPtr

Transfer ownership: None Nullable: False

initialText NonNullableUtf8StringHandle

Transfer ownership: None Nullable: False

Returns

Utf8StringArrayNullTerminatedOwnedHandle

Transfer ownership: Full Nullable: False

GetGType()

Calls native function g_filename_completer_get_type.

public static extern nuint GetGType()

Returns

nuint

Transfer ownership: None Nullable: False

New()

Calls native constructor g_filename_completer_new.

public static extern IntPtr New()

Returns

IntPtr

Transfer ownership: Full Nullable: False

SetDirsOnly(IntPtr, bool)

Calls native method g_filename_completer_set_dirs_only.

public static extern void SetDirsOnly(IntPtr completer, bool dirsOnly)

Parameters

completer IntPtr

Transfer ownership: None Nullable: False

dirsOnly bool

Transfer ownership: None Nullable: False