set_icon_from_stock


Description:

[ Version ( deprecated = true , deprecated_since = "3.10" , since = "2.16" ) ]
public void set_icon_from_stock (EntryIconPosition icon_pos, string? stock_id)

Warning: set_icon_from_stock is deprecated since 3.10.

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

Note:

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

Parameters:

this

A Entry

icon_pos

Icon position

stock_id

The name of the stock item, or null