Package: gtk

Function gtk-dialog-add-button

Lambda List

gtk-dialog-add-button (dialog text response)

Arguments

dialog -- a gtk-dialog widget
text -- a string with the text of the button
response -- response ID for the button, which is a positive integer or a value of the gtk-response-type enumeration

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 value. The button is appended to the end of the action area of the dialog.
 

See also

*2021-12-3