Class FilenameCompleter
- Namespace
- Gio
- Assembly
- Gio-2.0.dll
public class FilenameCompleter : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
FilenameCompleter
- Implements
- Inherited Members
Constructors
FilenameCompleter(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public FilenameCompleter(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
FilenameCompleter(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected FilenameCompleter(CreationData data)
Parameters
dataCreationData
FilenameCompleter(FilenameCompleterHandle)
protected FilenameCompleter(FilenameCompleterHandle handle)
Parameters
handleFilenameCompleterHandle
Fields
GotCompletionDataSignal
Signal Descriptor for OnGotCompletionData.
public static readonly Signal<FilenameCompleter> GotCompletionDataSignal
Field Value
Methods
GetCompletionSuffix(string)
public string? GetCompletionSuffix(string initialText)
Parameters
initialTextstring
Returns
GetCompletions(string)
public string[] GetCompletions(string initialText)
Parameters
initialTextstring
Returns
- string[]
GetGType()
public static Type GetGType()
Returns
New()
public static FilenameCompleter New()
Returns
NewFromPointer(nint, bool)
Creates a new managed FilenameCompleter instance for a given pointer.
public static FilenameCompleter NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new FilenameCompleter and sets the properties specified by the construct arguments.
public static FilenameCompleter NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetDirsOnly(bool)
public void SetDirsOnly(bool dirsOnly)
Parameters
dirsOnlybool
Events
OnGotCompletionData
public event SignalHandler<FilenameCompleter> OnGotCompletionData