You Are Here: Home »Manuals»Pear »   Package.gtk2.entrydialog.setdefaultresponse
Gtk2_EntryDialog::set_default_response

Gtk2_EntryDialog::set_default_response()

Gtk2_EntryDialog::set_default_response()  -- Set the default response.

Description

Set the default response.

The button with the id will be the default one, allowing you to just press return to activate it.

Parameter

int $response_id

Response code