Class: Glimmer::Gtk::WidgetProxy::MessageDialogProxy

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

Overview

Proxy for Gtk message dialog objects

Follows the Proxy Design Pattern

Constant Summary collapse

DEFAULT_WIDTH =
190

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, #initialize, keyword, map_descendant_keyword_constants_for, #method_missing, #post_initialize_child, reset_descendant_keyword_constant_map, #respond_to?, #respond_to_gtk?, #send_to_gtk, widget_proxy_class, #window_proxy

Constructor Details

This class inherits a constructor from Glimmer::Gtk::WidgetProxy

Dynamic Method Handling

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

Instance Method Details

#post_add_contentObject



71
72
73
74
75
76
# File 'lib/glimmer/gtk/widget_proxy/message_dialog_proxy.rb', line 71

def post_add_content
  unless @initial_content_added
    @initial_content_added = true
    self.set_default_width(DEFAULT_WIDTH) if default_width == -1
  end
end