Sha256: eb777f6f013b76e7c289c75d011989796f46c2e60e7c64e9fee0e9dc4d91d1f6
Contents?: true
Size: 628 Bytes
Versions: 2
Compression:
Stored size: 628 Bytes
Contents
module Redcar class Application class Dialog # Prompt the user with an open file dialog. Returns a path. def self.open_file(window, options) Redcar.gui.dialog_adapter.open_file(window, options) end # Prompt the user with an open directory dialog. Returns a path. def self.open_directory(window, options) Redcar.gui.dialog_adapter.open_directory(window, options) end # Prompt the user with an save file dialog. Returns a path. def self.save_file(window, options) Redcar.gui.dialog_adapter.save_file(window, options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
redcar-0.3.1dev | plugins/application/lib/application/dialog.rb |
redcar-0.3.0dev | plugins/application/lib/application/dialog.rb |