Class: Gio::FilenameCompleter
- Inherits:
-
Object
- Object
- Gio::FilenameCompleter
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#dirs_only=(dirs_only) ⇒ nil
If dirs_only is true, completer will only complete directory names, and not file names.
-
#get_completion_suffix(initial_text) ⇒ String
Obtains a completion for initial_text from completer.
-
#get_completions(initial_text) ⇒ Array<String>
Gets an array of completion strings for a given initial text.
-
#new ⇒ Gio::FilenameCompleter
Creates a new filename completer.
Instance Method Details
#dirs_only=(dirs_only) ⇒ nil
If dirs_only is true, completer will only complete directory names, and not file names.
#get_completion_suffix(initial_text) ⇒ String
Obtains a completion for initial_text from completer.
#get_completions(initial_text) ⇒ Array<String>
Gets an array of completion strings for a given initial text. This array must be freed by g_strfreev() when finished.
#new ⇒ Gio::FilenameCompleter
Creates a new filename completer.