Class

PurpleCountingNode

since: 3.0

Description [src]

abstract class Purple.CountingNode : Purple.BlistNode {
  node: PurpleBlistNode
}

A node that keeps count of the number of children that it has. It tracks the total number of children, the number of children corresponding to online accounts, and the number of online children.

The two types of counting nodes are: Contact: Keeps track of the number of buddies under it. Group: Keeps track of the number of chats and contacts under it.

See PurpleContact, PurpleGroup.

Available since: 3.0

Instance methods

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