Class

PurpleGroup

since: 2.0

Description [src]

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

A group on the buddy list.

A group is a counting node, which means it keeps track of the counts of the chats and contacts under this group.

Available since: 2.0

Constructors

purple_group_new

Creates a new group.

since: 2.0

Instance methods

purple_group_get_accounts

Returns a list of accounts that have buddies in this group.

since: 2.0

purple_group_get_name

Returns the name of a group.

since: 2.0

purple_group_on_account

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

since: 2.0

purple_group_set_name

Sets the name of a group.

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.Group:name
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 PurpleGroupClass {
  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.