Class: Gtk::Loader
- Inherits:
-
GObjectIntrospection::Loader
- Object
- GObjectIntrospection::Loader
- Gtk::Loader
- Defined in:
- lib/gtk3/loader.rb
Instance Method Summary collapse
-
#initialize(base_module, init_arguments) ⇒ Loader
constructor
A new instance of Loader.
- #load ⇒ Object
Constructor Details
#initialize(base_module, init_arguments) ⇒ Loader
Returns a new instance of Loader.
19 20 21 22 |
# File 'lib/gtk3/loader.rb', line 19 def initialize(base_module, init_arguments) super(base_module) @init_arguments = init_arguments end |
Instance Method Details
#load ⇒ Object
24 25 26 27 |
# File 'lib/gtk3/loader.rb', line 24 def load self.version = "3.0" super("Gtk") end |