AvatarImageLoadFunc


Description:

[ CCode ( instance_pos = 1.9 ) ]
public delegate Pixbuf? AvatarImageLoadFunc (int size)

The returned Pixbuf is expected to be square with width and height set to size.

The image is cropped to a circle without any scaling or transformation.

Parameters:

size

the required size of the avatar

user_data

user data

Returns:

the Pixbuf to use as a custom avatar or null to fallback to the generated avatar.


Namespace: Hdy
Package: libhandy-1