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.
169 170 171 172 173 174 175 176 177 178 |
# File 'lib/application.rb', line 169 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
184 185 186 |
# File 'lib/application.rb', line 184 def @message.text end |
#message=(message) ⇒ Object
180 181 182 |
# File 'lib/application.rb', line 180 def () @message.text = end |