AvatarImageLoadFunc
Description:
[ CCode ( instance_pos = 1.9 ) ]
[ Version ( deprecated = true , deprecated_since = "1.2" , since = "1.0" ) ]
public delegate Pixbuf? AvatarImageLoadFunc (int size)
[ 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.
Note:
use [method@Avatar.set_loadable_icon] instead.
The returned [class@GdkPixbuf.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