Module: Glimmer::LibUI::ControlProxy::MessageBox

Included in:
MsgBoxErrorProxy, MsgBoxProxy
Defined in:
lib/glimmer/libui/control_proxy/message_box.rb,
lib/glimmer/libui/control_proxy/message_box/msg_box_proxy.rb,
lib/glimmer/libui/control_proxy/message_box/msg_box_error_proxy.rb

Overview

Represents LibUI message box objects

Defined Under Namespace

Classes: MsgBoxErrorProxy, MsgBoxProxy

Instance Method Summary collapse

Instance Method Details

#build_controlObject



27
28
29
30
31
32
# File 'lib/glimmer/libui/control_proxy/message_box.rb', line 27

def build_control
  @args.prepend ControlProxy.main_window_proxy if @args[0].nil? || @args[0].is_a?(String)
  @args[1] ||= ''
  @args[2] ||= ''
  super
end