Method

GtkDialogget_response_for_widget

since: 2.8

Declaration [src]

gint
gtk_dialog_get_response_for_widget (
  GtkDialog* dialog,
  GtkWidget* widget
)

Description [src]

Gets the response id of a widget in the action area of a dialog.

Available since: 2.8

Parameters

widget

Type: GtkWidget

A widget in the action area of dialog.

The data is owned by the caller of the method.

Return value

Type: gint

The response id of widget, or GTK_RESPONSE_NONE if widget doesn’t have a response id set.