Method

GtkDialogset_default_response

Declaration [src]

void
gtk_dialog_set_default_response (
  GtkDialog* dialog,
  gint response_id
)

Description [src]

Sets the last widget in the dialog’s action area with the given response_id as the default widget for the dialog. Pressing “Enter” normally activates the default widget.

Parameters

response_id

Type: gint

A response ID.