set_loadable_icon


Description:

[ Version ( since = "1.2" ) ]
public void set_loadable_icon (LoadableIcon? icon)

Sets the [iface@Gio.

LoadableIcon] to use as an avatar.

The previous avatar is displayed till the new avatar is loaded, to immediately remove the custom avatar set the loadable-icon to `NULL`.

The [iface@Gio.LoadableIcon] set via this function is preferred over a set [callback@AvatarImageLoadFunc].

Parameters:

this

an avatar

icon

a [iface@Gio.LoadableIcon]