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 [[email protected]] set via this function is preferred over a set [callback@AvatarImageLoadFunc].

Parameters:

this

an avatar

icon

a [[email protected]]




2022 vala-language.org