Package: gtk

Function gtk-info-bar-add-button

Lambda List

gtk-info-bar-add-button (infobar text response)

Arguments

infobar -- a gtk-info-bar widget
text -- a string with the text of the button
response -- an integer with the response ID for the button

Return Value

The gtk-button widget that was added.

Details

Adds a button with the given text, and sets things up so that clicking the button will emit the "response" signal with the given response ID. The button is appended to the end of the action area of the info bar. The button widget is returned, but usually you do not need it.
 

See also

*2021-12-22