Gio.FilenameCompleter.prototype.get_completions

function get_completions(initial_text: String): Array(String) {
    // Gjs wrapper for g_filename_completer_get_completions()
}
  

Gets an array of completion strings for a given initial text.

initial_text

text to be completed.

Returns

array of strings with possible completions for initial_text. This array must be freed by GLib.strfreev when finished.