[ CCode ( instance_pos = 1.9 ) ]
[ Version ( deprecated = true , deprecated_since = "1.2" , since = "1.0" ) ]
public delegate Pixbuf? AvatarImageLoadFunc (int size)
Warning: AvatarImageLoadFunc is deprecated since 1.2.
Callback for loading an [class@Avatar]'s image.
use [[email protected]_loadable_icon] instead.
The returned [[email protected]] is expected to be square with width and height set to size
. The image is cropped to a
circle without any scaling or transformation.
size |
the required size of the avatar |
user_data |
user data |
the pixbuf to use as a custom avatar or `NULL` to fallback to the generated avatar |