Class: Glimmer::Gtk::WidgetProxy::BoxProxy
- Inherits:
-
Glimmer::Gtk::WidgetProxy
- Object
- Glimmer::Gtk::WidgetProxy
- Glimmer::Gtk::WidgetProxy::BoxProxy
- Defined in:
- lib/glimmer/gtk/widget_proxy/box_proxy.rb
Overview
Proxy for Gtk box objects
Follows the Proxy Design Pattern
Constant Summary collapse
- DEFAULT_ORIENTATION =
:vertical
Constants inherited from Glimmer::Gtk::WidgetProxy
Instance Attribute Summary
Attributes inherited from Glimmer::Gtk::WidgetProxy
#args, #block, #gtk, #keyword, #parent_proxy
Instance Method Summary collapse
-
#initialize(keyword, parent, args, &block) ⇒ BoxProxy
constructor
A new instance of BoxProxy.
Methods inherited from Glimmer::Gtk::WidgetProxy
constant_symbol, #content, create, descendant_keyword_constant_map, exist?, gtk_constant_symbol, keyword, map_descendant_keyword_constants_for, #method_missing, #post_add_content, #post_initialize_child, reset_descendant_keyword_constant_map, #respond_to?, #respond_to_gtk?, #send_to_gtk, widget_proxy_class, #window_proxy
Constructor Details
#initialize(keyword, parent, args, &block) ⇒ BoxProxy
Returns a new instance of BoxProxy.
71 72 73 74 |
# File 'lib/glimmer/gtk/widget_proxy/box_proxy.rb', line 71 def initialize(keyword, parent, args, &block) args[0] = :vertical if args[0].nil? super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Glimmer::Gtk::WidgetProxy