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)
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 [method@Avatar.set_loadable_icon] instead.
It will be called on [property@Avatar:size] or [property@Gtk.Widget:scale-factor] changes.
Parameters:
this |
an avatar |
load_image |
callback to set a custom image |
destroy |
destroy notifier for |
user_data |
user data passed to |