Class

PurpleMetaContact

Description [src]

class Purple.MetaContact : Purple.CountingNode {
  counting: PurpleCountingNode
}

A contact on the buddy list.

A contact is a counting node, which means it keeps track of the counts of the buddies under this contact.

Constructors

purple_meta_contact_new

Creates a new contact.

since: 3.0

Instance methods

purple_meta_contact_get_alias

Gets the alias for a contact.

since: 3.0

purple_meta_contact_get_group

Gets the PurpleGroup from a PurpleMetaContact.

since: 3.0

purple_meta_contact_get_priority_buddy

Returns the highest priority buddy for a given contact.

since: 3.0

purple_meta_contact_invalidate_priority_buddy

Invalidates the priority buddy so that the next call to purple_meta_contact_get_priority_buddy recomputes it.

since: 3.0

purple_meta_contact_merge

Merges two contacts.

since: 3.0

purple_meta_contact_on_account

Determines whether an account owns any buddies in a given contact.

since: 3.0

purple_meta_contact_set_alias

Sets the alias for a contact.

since: 3.0

Methods inherited from PurpleCountingNode (9)
purple_counting_node_change_current_size

Changes the number of children of the counting node corresponding to online accounts. The provided delta value is added to the count, or if it’s negative, the count is decreased.

since: 3.0

purple_counting_node_change_online_count

Changes the number of children of the counting node that are online. The provided delta value is added to the count, or if it’s negative, the count is decreased.

since: 3.0

purple_counting_node_change_total_size

Changes the total number of children of the counting node. The provided delta value is added to the count, or if it’s negative, the count is decreased.

since: 3.0

purple_counting_node_get_current_size

Returns the number of children of the counting node corresponding to online accounts.

since: 3.0

purple_counting_node_get_online_count

Returns the number of children of the counting node that are online.

since: 3.0

purple_counting_node_get_total_size

Returns the total number of children of the counting node.

since: 3.0

purple_counting_node_set_current_size

Sets the number of children of the counting node corresponding to online accounts.

since: 3.0

purple_counting_node_set_online_count

Sets the number of children of the counting node that are online.

since: 3.0

purple_counting_node_set_total_size

Sets the total number of children of the counting node.

since: 3.0

Methods inherited from PurpleBlistNode (17)
purple_blist_node_get_bool

Retrieves a named boolean setting from a node in the buddy list.

since: 2.0

purple_blist_node_get_extended_menu
No description available.

since: 2.0

purple_blist_node_get_first_child

Returns the the first child node of a given node.

since: 2.4

purple_blist_node_get_int

Retrieves a named integer setting from a node in the buddy list.

since: 2.0

purple_blist_node_get_parent

Returns the parent node of a given node.

since: 2.4

purple_blist_node_get_settings

Returns a node’s settings.

since: 3.0

purple_blist_node_get_sibling_next

Returns the sibling node of a given node.

since: 2.4

purple_blist_node_get_sibling_prev

Returns the previous sibling node of a given node.

since: 2.4

purple_blist_node_get_string

Retrieves a named string setting from a node in the buddy list.

since: 2.0

purple_blist_node_has_setting

Checks whether a named setting exists for a node in the buddy list.

since: 3.0

purple_blist_node_is_transient

Gets whether the node should be saved with the buddy list or not.

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

since: 2.0

purple_blist_node_remove_setting

Removes a named setting from a blist node.

since: 2.0

purple_blist_node_set_bool

Associates a boolean with a node in the buddy list.

since: 2.0

purple_blist_node_set_int

Associates an integer with a node in the buddy list.

since: 2.0

purple_blist_node_set_string

Associates a string with a node in the buddy list.

since: 2.0

purple_blist_node_set_transient

Sets whether the node should be saved with the buddy list or not.

since: 3.0

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Purple.MetaContact:alias
No description available.

Purple.MetaContact:priority-buddy
No description available.

Properties inherited from PurpleCountingNode (3)
Purple.CountingNode:current-size
No description available.

Purple.CountingNode:online-count
No description available.

Purple.CountingNode:total-size
No description available.

Properties inherited from PurpleBlistNode (1)
Purple.BlistNode:transient
No description available.

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 PurpleMetaContactClass {
  PurpleCountingNodeClass counting_class;
  void (* _purple_reserved1) (
void
  );
  void (* _purple_reserved2) (
void
  );
  void (* _purple_reserved3) (
void
  );
  void (* _purple_reserved4) (
void
  );
  
}
No description available.
Class members
counting_class: PurpleCountingNodeClass
No description available.
_purple_reserved1: void (* _purple_reserved1) ( void )
No description available.
_purple_reserved2: void (* _purple_reserved2) ( void )
No description available.
_purple_reserved3: void (* _purple_reserved3) ( void )
No description available.
_purple_reserved4: void (* _purple_reserved4) ( void )
No description available.