Gtk.InfoBar.prototype.add_action_widget

function add_action_widget(child:Gtk.Widget, response_id:Number):void {
    // Gjs wrapper for gtk_info_bar_add_action_widget()
}

Add an activatable widget to the action area of a Gtk.InfoBar, connecting a signal handler that will emit the Gtk.response signal on the message area when the widget is activated. The widget is appended to the end of the message areas action area.

Since 2.18

child

an activatable widget

response_id

response ID for child