set_icon_from_gicon


Description:

[ Version ( since = "2.16" ) ]
public void set_icon_from_gicon (EntryIconPosition icon_pos, Icon? icon)

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

If the icon isn’t known, a “broken image” icon will be displayed instead.

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

Parameters:

this

A Entry

icon_pos

The position at which to set the icon

icon

The icon to set, or null