class Iup::FileDialog

A predefined modal dialog for selecting files or a directory.

Example

The following opens a “save file” dialog, filtered on Ruby files.

filedlg = Iup::FileDialog.new do |d|
   d.dialogtype = 'save'
   d.title = 'File Save'
   d.filter = '*.rb'
   d.filterinfo = 'Ruby Files'
 end
 filedlg.popup(300, 300)

Note that popup must be used to show the dialog.

Also see: Iup.get_file