Class: Glimmer::Gtk::WidgetProxy::ApplicationProxy

Inherits:
Glimmer::Gtk::WidgetProxy show all
Defined in:
lib/glimmer/gtk/widget_proxy/application_proxy.rb

Overview

Proxy for Gtk application objects

Follows the Proxy Design Pattern

Constant Summary

Constants inherited from Glimmer::Gtk::WidgetProxy

KEYWORD_ALIASES

Instance Attribute Summary

Attributes inherited from Glimmer::Gtk::WidgetProxy

#args, #block, #gtk, #keyword, #parent_proxy

Instance Method Summary collapse

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) ⇒ ApplicationProxy

Returns a new instance of ApplicationProxy.



69
70
71
72
73
# File 'lib/glimmer/gtk/widget_proxy/application_proxy.rb', line 69

def initialize(keyword, parent, args, &block)
  args[0] = 'org.glimmer-dsl-gtk.application' if args[0].nil?
  args[1] = :flags_none if args[1].nil?
  super
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Glimmer::Gtk::WidgetProxy