Gtk.Entry.prototype.set_icon_from_icon_name

function set_icon_from_icon_name(icon_pos:Gtk.EntryIconPosition, icon_name:String):void {
    // Gjs wrapper for gtk_entry_set_icon_from_icon_name()
}

Sets the icon shown in the entry at the specified position from the current icon theme.

If the icon name isn't known, a "broken image" icon will be displayed instead.

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

Since 2.16

icon_pos

The position at which to set the icon

icon_name

An icon name, or null