Avatar.setImageLoadFunc

A callback which is called when the custom image need to be reloaded for some reason (e.g. scale-factor changes).

class Avatar
void
setImageLoadFunc

Parameters

loadImage HdyAvatarImageLoadFunc

callback to set a custom image

userData void*

user data passed to @load_image

destroy GDestroyNotify

destroy notifier for @user_data

Meta