Class: Gtk::FileChooserDialog
- Inherits:
-
Object
- Object
- Gtk::FileChooserDialog
- Extended by:
- GLib::Deprecatable
- Defined in:
- lib/gtk3/deprecated.rb,
lib/gtk3/file-chooser-dialog.rb
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ FileChooserDialog
constructor
A new instance of FileChooserDialog.
- #initialize_raw ⇒ Object
Constructor Details
#initialize(options = {}) ⇒ FileChooserDialog
Returns a new instance of FileChooserDialog.
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
# File 'lib/gtk3/file-chooser-dialog.rb', line 20 def initialize(={}) GLib::Object.instance_method(:initialize).bind(self).call Loader.reference_gobject(self, :sink => true) title = [:title] parent = [:parent] action = [:action] || :open = [:buttons] set_title(title) if title set_action(action) if action set_transient_for(parent) if parent (*) if end |
Instance Method Details
#initialize_raw ⇒ Object
19 |
# File 'lib/gtk3/file-chooser-dialog.rb', line 19 alias_method :initialize_raw, :initialize |