Class
PurpleBuddy
Description [src]
class Purple.Buddy : Purple.BlistNode {
node: PurpleBlistNode
}
A buddy on the buddy list.
Constructors
purple_buddy_new
Creates a new buddy.
Functions
purple_buddy_icons_find
Returns the buddy icon information for a user.
purple_buddy_icons_find_account_icon
Returns the buddy icon image for an account.
purple_buddy_icons_get_account_icon_timestamp
Returns the timestamp of when the icon was set.
purple_buddy_icons_get_cache_dir
Returns the directory used to store buddy icon cache files.
purple_buddy_icons_get_handle
Returns the buddy icon subsystem handle.
purple_buddy_icons_init
Initializes the buddy icon subsystem.
purple_buddy_icons_is_caching
Returns whether or not buddy icon caching should be enabled.
purple_buddy_icons_node_find_custom_icon
Returns the custom buddy icon image for a blist node.
purple_buddy_icons_node_has_custom_icon
Returns a boolean indicating if a given blist node has a custom buddy icon.
purple_buddy_icons_node_set_custom_icon
Sets a custom buddy icon for a blist node.
purple_buddy_icons_node_set_custom_icon_from_file
Sets a custom buddy icon for a blist node.
purple_buddy_icons_set_account_icon
Sets a buddy icon for an account.
purple_buddy_icons_set_cache_dir
Sets the directory used to store buddy icon cache files.
purple_buddy_icons_set_caching
Sets whether or not buddy icon caching is enabled.
purple_buddy_icons_set_for_user
Sets a buddy icon for a user.
purple_buddy_icons_uninit
Uninitializes the buddy icon subsystem.
Instance methods
purple_buddy_get_account
Returns a buddy’s account.
purple_buddy_get_alias
Returns the correct name to display for a buddy. In order of precedence: the buddy’s local alias; the buddy’s server alias; the buddy’s contact alias; the buddy’s user name.
purple_buddy_get_alias_only
Returns the alias of a buddy.
purple_buddy_get_contact
Returns a buddy’s contact.
purple_buddy_get_contact_alias
Returns the correct name to display for a buddy, taking the contact alias into account. In order of precedence: the buddy’s alias; the buddy’s contact alias; the buddy’s server alias; the buddy’s user name.
purple_buddy_get_group
Returns the group of which the buddy is a member.
purple_buddy_get_icon
Returns a buddy’s icon.
purple_buddy_get_local_alias
Returns the local alias for the buddy, or NULL
if none exists.
purple_buddy_get_media_caps
Gets the media caps from a buddy.
purple_buddy_get_name
Returns a buddy’s name.
purple_buddy_get_presence
Returns a buddy’s presence.
purple_buddy_get_protocol_data
Returns a buddy’s protocol-specific data.
purple_buddy_get_server_alias
Gets the server alias for a buddy.
purple_buddy_icons_get_checksum_for_user
Returns the checksum for the buddy icon of a specified buddy.
purple_buddy_set_icon
Sets a buddy’s icon.
purple_buddy_set_local_alias
Sets the local alias for the buddy.
purple_buddy_set_media_caps
Sets the media caps for a buddy.
purple_buddy_set_name
Sets a buddy’s name.
purple_buddy_set_protocol_data
Sets a buddy’s protocol-specific data.
purple_buddy_set_server_alias
Sets the server alias for a buddy.
purple_buddy_update_status
Updates a buddy’s status.
Methods inherited from PurpleBlistNode (17)
purple_blist_node_get_bool
Retrieves a named boolean setting from a node in the buddy list.
purple_blist_node_get_extended_menu
purple_blist_node_get_first_child
Returns the the first child node of a given node.
purple_blist_node_get_int
Retrieves a named integer setting from a node in the buddy list.
purple_blist_node_get_parent
Returns the parent node of a given node.
purple_blist_node_get_settings
Returns a node’s settings.
purple_blist_node_get_sibling_next
Returns the sibling node of a given node.
purple_blist_node_get_sibling_prev
Returns the previous sibling node of a given node.
purple_blist_node_get_string
Retrieves a named string setting from a node in the buddy list.
purple_blist_node_has_setting
Checks whether a named setting exists for a node in the buddy list.
purple_blist_node_is_transient
Gets whether the node should be saved with the buddy list or not.
Available since: 3.0.0
purple_blist_node_next
Returns the next node of a given node. This function is to be used to iterate over the tree returned by purple_blist_get_default.
purple_blist_node_remove_setting
Removes a named setting from a blist node.
purple_blist_node_set_bool
Associates a boolean with a node in the buddy list.
purple_blist_node_set_int
Associates an integer with a node in the buddy list.
purple_blist_node_set_string
Associates a string with a node in the buddy list.
purple_blist_node_set_transient
Sets whether the node should be saved with the buddy list or not.
Available since: 3.0.0
Properties
Purple.Buddy:account
Purple.Buddy:icon
Purple.Buddy:id
Purple.Buddy:local-alias
Purple.Buddy:media-caps
Purple.Buddy:name
Purple.Buddy:presence
Purple.Buddy:server-alias
Properties inherited from PurpleBlistNode (1)
Purple.BlistNode:transient
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 PurpleBuddyClass {
PurpleBlistNodeClass node_class;
void (* _purple_reserved1) (
void
);
void (* _purple_reserved2) (
void
);
void (* _purple_reserved3) (
void
);
void (* _purple_reserved4) (
void
);
}
Class members
node_class |
|
No description available. | |
_purple_reserved1 |
|
No description available. | |
_purple_reserved2 |
|
No description available. | |
_purple_reserved3 |
|
No description available. | |
_purple_reserved4 |
|
No description available. |