Class

PurpleAvatar

since: 3.0

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

Ancestors

Constructors

purple_avatar_new_from_filename

Creates a new avatar from filename.

since: 3.0

purple_avatar_new_from_resource

Creates a new avatar from the resource at resource_path.

since: 3.0

Instance methods

purple_avatar_get_animated

Gets whether or not avatar is animated.

since: 3.0

purple_avatar_get_animation

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

since: 3.0

purple_avatar_get_filename

Gets the base filename of avatar.

since: 3.0

purple_avatar_get_pixbuf

Gets the GdkPixbuf of avatar.

since: 3.0

purple_avatar_get_tags

Gets the PurpleTags for avatar.

since: 3.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.

since: 3.0

Purple.Avatar:animation

The GdkPixbufAnimation if PurpleAvatar:animated is TRUE.

since: 3.0

Purple.Avatar:filename

The filename that this avatar was created from.

since: 3.0

Purple.Avatar:pixbuf

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

since: 3.0

Purple.Avatar:tags

The PurpleTags for the avatar.

since: 3.0

Signals

Signals inherited from GObject (1)
GObject::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;
  
}
No description available.
Class members
parent_class: GObjectClass
No description available.