Method: Gtk::Dialog#add_button
- Defined in:
- lib/gtk3/dialog.rb
#add_button(text, response_id) ⇒ Object
58 59 60 61 62 63 64 |
# File 'lib/gtk3/dialog.rb', line 58 def (text, response_id) case response_id when Symbol response_id = ResponseType.new(response_id) end (text, response_id) end |