It derives from <GObject>.
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.
Obtains a suffix completion for initial-text from self.
Suffix will be an empty string if there’s no shared suffix among
matching completions. If there’s no matching completions anyway,
NULL is returned.
Passed: a <GFilenameCompleter>.
the filename completer.
Passed: a string.
text to be completed.
Returned: a string, or #f.
a suffix completion string, or NULL if no completion exists.
Gets an array of completion strings for a given initial text.
Passed: a <GFilenameCompleter>.
the filename completer.
Passed: a string.
text to be completed.
Returned: a vector, each a string.
array of strings with possible completions for initial-text. This
array must be freed by strfreev when
finished.
Creates a new filename completer.
Returned: a <GFilenameCompleter>.
If dirs-only is #t, self will only complete directory
names, and not file names.
This function needs to be called before waiting for results from the completer to be populated.
Passed: a <GFilenameCompleter>.
the filename completer.
Passed: a boolean.
a gboolean.
Connect a handler with (connect object
filename-completer:got-completion-data handler). It is called as
(handler self).
Emitted when the file name completion information comes available.
Passed: a <GFilenameCompleter>.
To override it in a new class, give register-type #:vfuncs
`((got-completion-data . ,procedure)). The procedure is called as
(procedure self).
Passed: the class whose implementation to call:
<GFilenameCompleter>, or a class that
derives from it, or its GType number.
Passed: a <GFilenameCompleter>.