Class: TopinambourCssErrorPopup
- Inherits:
-
Gtk::MessageDialog
- Object
- Gtk::MessageDialog
- TopinambourCssErrorPopup
- Defined in:
- lib/application.rb
Instance Method Summary collapse
-
#initialize(parent) ⇒ TopinambourCssErrorPopup
constructor
A new instance of TopinambourCssErrorPopup.
- #message ⇒ Object
- #message=(message) ⇒ Object
Constructor Details
#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") { || .destroy } end |
Instance Method Details
#message ⇒ Object
183 184 185 |
# File 'lib/application.rb', line 183 def @message.text end |
#message=(message) ⇒ Object
179 180 181 |
# File 'lib/application.rb', line 179 def () @message.text = end |