Method GTK2.Dialog()->add_button()

class GTK2.Dialog

Method add_button

GTK2.Widget add_button(string button_text, int response_id)

Description

Adds a button with the given text (or a stock button) and sets things up so that clicking the button will emit the "response" signal with the given response_id.