Gio.FilenameCompleter.prototype.set_dirs_only

function set_dirs_only(dirs_only: Boolean): void {
    // Gjs wrapper for g_filename_completer_set_dirs_only()
}
  

If dirs_only is true, completer will only complete directory names, and not file names.

dirs_only

a #gboolean.