Class: Glimmer::LibUI::GroupProxy

Inherits:
ControlProxy show all
Defined in:
lib/glimmer/libui/group_proxy.rb

Overview

Proxy for LibUI group objects

Follows the Proxy Design Pattern

Constant Summary collapse

DEFAULT_TITLE =
''

Constants inherited from ControlProxy

ControlProxy::BOOLEAN_PROPERTIES, ControlProxy::STRING_PROPERTIES

Instance Attribute Summary

Attributes inherited from ControlProxy

#args, #block, #keyword, #libui, #parent_proxy

Instance Method Summary collapse

Methods inherited from ControlProxy

#append_properties, #append_property, boolean_to_integer, #can_handle_listener?, #content, control_proxies, create, #default_destroy, #destroy, #enabled, exists?, #handle_listener, image_proxies, #initialize, integer_to_boolean, #libui_api_keyword, main_window_proxy, menu_proxies, #method_missing, new_control, #post_add_content, #respond_to?, #respond_to_libui?, #send_to_libui, #visible, widget_proxy_class, #window_proxy

Constructor Details

This class inherits a constructor from Glimmer::LibUI::ControlProxy

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer::LibUI::ControlProxy

Instance Method Details

#destroy_child(child) ⇒ Object



36
37
38
39
# File 'lib/glimmer/libui/group_proxy.rb', line 36

def destroy_child(child)
  ::LibUI.send("group_set_child", @libui, nil)
  super
end

#post_initialize_child(child) ⇒ Object



32
33
34
# File 'lib/glimmer/libui/group_proxy.rb', line 32

def post_initialize_child(child)
  ::LibUI.group_set_child(@libui, child.libui)
end