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