Class

PurpleAvatar

Description [src]

final class Purple.Avatar : GObject.Object {
  /* No available fields */
}

A representation of an Avatar that is used for accounts, contacts, and conversations.

Available since:3.0.0

Ancestors

Constructors

purple_avatar_new_from_filename

Creates a new avatar from filename.

Available since: 3.0.0

purple_avatar_new_from_resource

Creates a new avatar from the resource at resource_path.

Available since: 3.0.0

Instance methods

purple_avatar_get_animated

Gets whether or not avatar is animated.

Available since: 3.0.0

purple_avatar_get_animation

Gets the GdkPixbufAnimation if PurpleAvatar:animated is TRUE, otherwise NULL.

Available since: 3.0.0

purple_avatar_get_filename

Gets the base filename of avatar.

Available since: 3.0.0

purple_avatar_get_pixbuf

Gets the GdkPixbuf of avatar.

Available since: 3.0.0

purple_avatar_get_tags

Gets the PurpleTags for avatar.

Available since: 3.0.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.Avatar:animated

Whether or not this avatar is animated.

Available since: 3.0.0

Purple.Avatar:animation

The GdkPixbufAnimation if PurpleAvatar:animated is TRUE.

Available since: 3.0.0

Purple.Avatar:filename

The filename that this avatar was created from.

Available since: 3.0.0

Purple.Avatar:pixbuf

The GdkPixbuf of the avatar. If PurpleAvatar:animated is TRUE, this will be a static frame from the animation.

Available since: 3.0.0

Purple.Avatar:tags

The PurpleTags for the avatar.

Available since: 3.0.0

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct PurpleAvatarClass {
  GObjectClass parent_class;
  
}
Class members
parent_class
GObjectClass
  No description available.