Class: Glimmer::SWT::ScrolledCompositeProxy
- Inherits:
-
WidgetProxy
- Object
- WidgetProxy
- Glimmer::SWT::ScrolledCompositeProxy
- Defined in:
- lib/glimmer/swt/scrolled_composite_proxy.rb
Constant Summary
Constants inherited from WidgetProxy
WidgetProxy::DEFAULT_INITIALIZERS, WidgetProxy::DEFAULT_STYLES
Instance Attribute Summary
Attributes inherited from WidgetProxy
#drag_source_proxy, #drag_source_style, #drag_source_transfer, #drop_target_proxy, #drop_target_transfer, #swt_widget
Instance Method Summary collapse
-
#initialize(underscored_widget_name, parent, args) ⇒ ScrolledCompositeProxy
constructor
A new instance of ScrolledCompositeProxy.
- #post_initialize_child(child) ⇒ Object
Methods inherited from WidgetProxy
#add_observer, #async_exec, #can_add_observer?, #can_handle_drag_observation_request?, #can_handle_drop_observation_request?, #can_handle_observation_request?, #content, #dispose, #ensure_drag_source_proxy, #ensure_drop_target_proxy, #extract_args, #get_attribute, #handle_observation_request, #has_attribute?, #has_style?, #method_missing, #pack_same_size, #remove_observer, #respond_to?, #set_attribute, swt_widget_class_for, #sync_exec, widget_exists?, #widget_property_listener_installers
Methods included from Packages
Constructor Details
#initialize(underscored_widget_name, parent, args) ⇒ ScrolledCompositeProxy
Returns a new instance of ScrolledCompositeProxy.
6 7 8 9 10 11 12 13 14 |
# File 'lib/glimmer/swt/scrolled_composite_proxy.rb', line 6 def initialize(, parent, args) unless args.first.is_a?(Numeric) args.unshift(:h_scroll) args.unshift(:v_scroll) end super . = true . = true end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Glimmer::SWT::WidgetProxy
Instance Method Details
#post_initialize_child(child) ⇒ Object
16 17 18 |
# File 'lib/glimmer/swt/scrolled_composite_proxy.rb', line 16 def post_initialize_child(child) .content = child. end |