class Glimmer::FX::ControlProxy::MainWindowProxy

Proxy for FX window objects

Follows the Proxy Design Pattern

Constants

DEFAULT_HEIGHT
DEFAULT_WIDTH

Public Instance Methods

post_add_content() click to toggle source
# File lib/glimmer/fx/control_proxy/main_window_proxy.rb, line 72
def post_add_content
  unless @content_added
    super
    self.width = DEFAULT_WIDTH if width == 1
    self.height = DEFAULT_HEIGHT if height == 1
    show
  end
end