RGtk2 (version 2.20.31)

gtkInfoBarSetDefaultResponse: gtkInfoBarSetDefaultResponse

Description

Sets the last widget in the info bar's action area with the given response_id as the default widget for the dialog. Pressing "Enter" normally activates the default widget.

Usage

gtkInfoBarSetDefaultResponse(object, response.id)

Arguments

object
response.id
a response ID

Details

Note that this function currently requires info.bar to be added to a widget hierarchy. Since 2.18