Method

GtkDialogget_widget_for_response

since: 2.20

Declaration [src]

GtkWidget*
gtk_dialog_get_widget_for_response (
  GtkDialog* dialog,
  gint response_id
)

Description [src]

Gets the widget button that uses the given response ID in the action area of a dialog.

Available since: 2.20

Parameters

response_id

Type: gint

The response ID used by the dialog widget.

Return value

Type: GtkWidget

The widget button that uses the given response_id, or NULL.

The returned data is owned by the instance.
The return value can be NULL.