Module: Builder::Gtk
- Defined in:
- lib/gtkbuilder.rb,
lib/proxies/box.rb,
lib/proxies/layout.rb,
lib/proxies/window.rb
Defined Under Namespace
Modules: LayoutProxy Classes: BoxProxy, WindowProxy
Class Method Summary collapse
-
.new(*args, &block) ⇒ Object
Defines a new Gtk window.
Class Method Details
.new(*args, &block) ⇒ Object
Defines a new Gtk window
8 9 10 11 12 |
# File 'lib/gtkbuilder.rb', line 8 def self.new(*args, &block) proxy = Builder::Gtk::WindowProxy.new(*args) block.call(proxy) if block return proxy. end |