Gtk.Entry.prototype.set_icon_from_stock

function set_icon_from_stock(icon_pos:Gtk.EntryIconPosition, stock_id:String):void {
    // Gjs wrapper for gtk_entry_set_icon_from_stock()
}

Sets the icon shown in the entry at the specified position from a stock image.

If stock_id is null, no icon will be shown in the specified position.

Since 2.16

icon_pos

Icon position

stock_id

The name of the stock item, or null