Struct

PurpleBuddyIcon

Description [src]

struct PurpleBuddyIcon {
  /* No available fields */
}

An opaque structure representing a buddy icon for a particular user on a particular PurpleAccount. Instances are reference-counted; use purple_buddy_icon_ref() and purple_buddy_icon_unref() to take and release references.

Constructors

purple_buddy_icon_new

Creates a new buddy icon structure and populates it.

Instance methods

purple_buddy_icon_get_account

Returns the buddy icon’s account.

purple_buddy_icon_get_checksum

Returns the buddy icon’s checksum.

purple_buddy_icon_get_data

Returns the buddy icon’s data.

purple_buddy_icon_get_extension

Returns an extension corresponding to the buddy icon’s file type.

purple_buddy_icon_get_full_path

Returns a full path to an icon.

purple_buddy_icon_get_stream

Gets the data of icon as a GInputStream.

Available since: 3.0.0

purple_buddy_icon_get_username

Returns the buddy icon’s username.

purple_buddy_icon_ref

Increments the reference count on a buddy icon.

purple_buddy_icon_save_to_filename

Writes the contents of icon to filename.

Available since: 3.0.0

purple_buddy_icon_set_data

Sets the buddy icon’s data.

purple_buddy_icon_unref

Decrements the reference count on a buddy icon.

purple_buddy_icon_update

Updates every instance of this icon.