Package org.gnome.adw

Class Avatar

java.lang.Object
All Implemented Interfaces:
Proxy, Accessible, Buildable, ConstraintTarget

@Generated("io.github.jwharm.JavaGI") public final class Avatar extends Widget implements Accessible, Buildable, ConstraintTarget
A widget displaying an image, with a generated fallback.

avatar

AdwAvatar is a widget that shows a round avatar.

AdwAvatar generates an avatar with the initials of the Avatar:text on top of a colored background.

The color is picked based on the hash of the Avatar:text.

If Avatar:show-initials is set to FALSE, Avatar:icon-name or avatar-default-symbolic is shown instead of the initials.

Use Avatar:custom-image to set a custom image.

CSS nodes
AdwAvatar has a single CSS node with name avatar.