Class: RDialogy::FSelect
- Inherits:
-
FilePathWidget
- Object
- Base
- FilePathWidget
- RDialogy::FSelect
- Defined in:
- lib/rdialogy/fselect.rb
Class Method Summary collapse
-
.run(options = {}) ⇒ Object
From the man page:.
Class Method Details
.run(options = {}) ⇒ Object
From the man page:
The fselect (file-selection) dialog displays a text-entry window in which you can type a filename (or
directory), and above that two windows with directory names and filenames.
Here filepath can be a filepath in which case the file and directory windows will display the contents of
the path and the text-entry window will contain the preselected filename.
Use tab or arrow keys to move between the windows. Within the directory or filename windows, use the
up/down arrow keys to scroll the current selection. Use the space-bar to copy the current selection into
the text-entry window.
Typing any printable characters switches focus to the text-entry window, entering that character as well as
scrolling the directory and filename windows to the closest match.
Typing the space character forces dialog to complete the current name (up to the point where there may be a
match against more than one entry).
Use a carriage return or the "OK" button to accept the current value in the text-entry window and exit.
26 |
# File 'lib/rdialogy/fselect.rb', line 26 def self.run(={}); super ; end |