Method

GtkDialogset_default_response

Declaration [src]

void
gtk_dialog_set_default_response (
  GtkDialog* dialog,
  int response_id
)

Description [src]

Sets the default widget for the dialog based on the response ID.

Pressing “Enter” normally activates the default widget.

Parameters

response_id int
 

A response ID.