set_image_load_func


Description:

[ Version ( deprecated = true , deprecated_since = "1.2" , since = "1.0" ) ]
public void set_image_load_func (owned AvatarImageLoadFunc? load_image)

Warning: set_image_load_func is deprecated since 1.2.

A callback which is called when the custom image needs to be reloaded.

Note:

use [[email protected]_loadable_icon] instead.

It will be called on [property@Avatar:size] or [[email protected]:scale-factor] changes.

Parameters:

this

an avatar

load_image

callback to set a custom image

destroy

destroy notifier for user_data

user_data

user data passed to load_image




2022 vala-language.org