Packages
granite
Granite
Widgets
Avatar
pixbuf
Avatar
Avatar.from_file
Avatar.from_pixbuf
Avatar.with_default_icon
draw
show_default
Avatar.from_file
Description:
public
Avatar.from_file
(
string
filepath,
int
pixel_size)
Creates a new Avatar from the specified filepath and icon size
Parameters:
filepath
image to be used
pixel_size
to scale the image