Class: Fzeet::ShellFolderDialog
- Inherits:
-
Windows::FileOpenDialog
- Object
- Windows::FileOpenDialog
- Fzeet::ShellFolderDialog
- Includes:
- ShellFileDialogMethods
- Defined in:
- lib/fzeet/windows/comdlg/ShellFileDialog.rb
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ ShellFolderDialog
constructor
A new instance of ShellFolderDialog.
Methods included from ShellFileDialogMethods
#Show, #item, #items, #path, #paths, #show
Constructor Details
#initialize(opts = {}) ⇒ ShellFolderDialog
Returns a new instance of ShellFolderDialog.
112 113 114 115 116 117 118 119 120 121 122 |
# File 'lib/fzeet/windows/comdlg/ShellFileDialog.rb', line 112 def initialize(opts = {}) super() SetOptions(Windows::FOS_PICKFOLDERS) begin yield self ensure Release() end if block_given? end |