Method

GtkDialogget_widget_for_response

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 gint
 

The response ID used by the dialog widget.

Return value

Returns: GtkWidget
 

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

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