Class: Zerenity::Question
- Inherits:
-
MessageDialog
- Object
- Base
- MessageDialog
- Zerenity::Question
- Defined in:
- lib/zerenity/question.rb
Overview
:nodoc:
Class Method Summary collapse
Methods inherited from MessageDialog
Methods inherited from Base
Class Method Details
.build(dialog, options) ⇒ Object
21 22 23 24 |
# File 'lib/zerenity/question.rb', line 21 def self.build(dialog,) super(dialog,) [:cancel_button] = dialog.(Gtk::Stock::CANCEL,Gtk::Dialog::RESPONSE_CANCEL) end |
.check(options) ⇒ Object
16 17 18 19 |
# File 'lib/zerenity/question.rb', line 16 def self.check() super() [:type] = Gtk::MessageDialog::QUESTION end |