From: Detlef R. <det...@gm...> - 2008-01-31 16:48:12
|
Hi, you are looking at the methodes and with response('response') you create a synthetic response signal. Go down the page to the signals and you will find: Signals close: self (Run last / Action) * self: Gtk::Dialog response: self, response_id (Run last) Emitted when an action widget is clicked, the dialog receives a delete event, or the application programmer calls Gtk::Dialog#response. On a delete event, the response ID is Gtk::Dialog::RESPONSE_NONE. Otherwise, it depends on which action widget was clicked. * self: Gtk::Dialog * response_id: the response_id Am Donnerstag, den 31.01.2008, 13:58 +0100 schrieb Mil Lab: > Thanks you. > > Its really work. > > But i question why the Gnome2 API docs not show: > signal_connect('response') do |dialog, response_id| ... > (I not yet understand this constructions in ruby) > and only show: > response('response') |