Avatar
Description:
[ CCode ( has_construct_function = false , type = "GtkWidget*" ) ]
public Avatar (int size, string? text, bool show_initials)
public Avatar (int size, string? text, bool show_initials)
Creates a new `HdyAvatar`.
Parameters:
size |
the size of the avatar |
text |
the text used to get the initials and color |
show_initials |
whether to use initials instead of an icon as fallback |
Returns:
the newly created `HdyAvatar` |