gio.filename_completer
Module for [FilenameCompleter] class
Types 3
Completes partial file and directory names given a partial string by looking in the file system for clues. Can return a list of possible completion strings for widget implementations.
Methods
FilenameCompleter self()Returns `this`, for use in `with` statements.FilenameCompleterGidBuilder builder()Get builder for [gio.filename_completer.FilenameCompleter] Returns: New builder objectstring getCompletionSuffix(string initialText)Obtains a completion for initial_text from completer.string[] getCompletions(string initialText)Gets an array of completion strings for a given initial text.void setDirsOnly(bool dirsOnly)If dirs_only is true, completer will only complete directory names, and not file names.gulong connectGotCompletionData(T)(T callback, Flag!"After" after = No.After) if (isCallable!T
&& is(ReturnType!T == void)
&& (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : gio.filename_completer.FilenameCompleter)))
&& Parameters!T.length < 2)Connect to `GotCompletionData` signal.Fluent builder for [gio.filename_completer.FilenameCompleter]
Methods