Dialog.addActionWidget
void addActionWidget(gtk.widget.Widget child, int responseId)Adds an activatable widget to the action area of a [gtk.dialog.Dialog].
GTK connects a signal handler that will emit the [gtk.dialog.Dialog.response] signal on the dialog when the widget is activated. The widget is appended to the end of the dialog’s action area.
If you want to add a non-activatable widget, simply pack it into the action_area field of the [gtk.dialog.Dialog] struct.
Parameters
child | an activatable widget |
responseId | response ID for child |
Deprecated
Use [gtk.window.Window] instead