Method: TopinambourCssErrorPopup#initialize

Defined in:
lib/application.rb

#initialize(parent) ⇒ TopinambourCssErrorPopup

Returns a new instance of TopinambourCssErrorPopup.



168
169
170
171
172
173
174
175
176
177
# File 'lib/application.rb', line 168

def initialize(parent)
  super(:parent => parent, :flags => 0,
        :type => Gtk::MessageType::ERROR,
        :buttons_type => Gtk::ButtonsType::CLOSE,
        :message => "Css Error")

  @message = Gtk::Label.new("")
  content_area.add(@message)
  signal_connect("response") { |widget| widget.destroy }
end