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
GType _getGType() static nothrow
GType _gType() @property nothrow
FilenameCompleter self() nothrowReturns `this`, for use in `with` statements.
FilenameCompleterGidBuilder builder() static nothrowGet builder for [gio.filename_completer.FilenameCompleter] Returns: New builder object
string getCompletionSuffix(string initialText) nothrowObtains a completion for initial_text from completer.
string[] getCompletions(string initialText) nothrowGets an array of completion strings for a given initial text.
void setDirsOnly(bool dirsOnly) nothrowIf 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) nothrowConnect to `GotCompletionData` signal.
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new filename completer. Returns: a #GFilenameCompleter.