Entry.setIconFromStock

void setIconFromStock(gtk.types.EntryIconPosition iconPos, string stockId = null)

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.

Parameters

iconPosIcon position
stockIdThe name of the stock item, or null

Deprecated

Use [gtk.entry.Entry.setIconFromIconName] instead.