Gtk.Action.prototype.set_gicon

function set_gicon(icon:Gio.Icon):void {
    // Gjs wrapper for gtk_action_set_gicon()
}

Sets the icon of action.

Since 2.16

icon

the Gio.Icon to set