GtkWidget* hdy_avatar_new ( gint size, const gchar* text, gboolean show_initials )
Creates a new
Available since: 1.0
The size of the avatar.
The text used to get the initials and color.
The argument can be
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.
Whether to use initials instead of an icon as fallback.
The newly created
|The data is owned by the called function.|