'http://faq.pygtk.org/index.py?req=show&file=faq10.017.htp'

def dialog_run(self):

    if (not self.modal):
        self.set_modal(True)
    self.connect('response', self.dialog_response_cb)
    self.show()
