Struct

PurpleNotifyUserInfo

since: 2.0

Description [src]

struct PurpleNotifyUserInfo {
  /* No available fields */
}

A collection of user information entries.

Available since: 2.0

Constructors

purple_notify_user_info_new

Create a new PurpleNotifyUserInfo which is suitable for passing to purple_notify_userinfo()

since: 2.0

Instance methods

purple_notify_user_info_add_pair_html

Add a label/value pair to a PurpleNotifyUserInfo object. PurpleNotifyUserInfo keeps track of the order in which pairs are added.

since: 3.0

purple_notify_user_info_add_pair_plaintext

Add a label/value pair to a PurpleNotifyUserInfo object. PurpleNotifyUserInfo keeps track of the order in which pairs are added.

since: 2.8

purple_notify_user_info_add_section_break

Add a section break. A UI might display this as a horizontal line.

since: 2.0

purple_notify_user_info_add_section_header

Add a section header. A UI might display this in a different font from other text.

since: 2.0

purple_notify_user_info_destroy

Destroy a PurpleNotifyUserInfo.

since: 2.0

purple_notify_user_info_get_entries

Retrieve the array of PurpleNotifyUserInfoEntry objects from a PurpleNotifyUserInfo.

since: 2.0

purple_notify_user_info_get_text_with_newline

Create a textual representation of a PurpleNotifyUserInfo, separating entries with newline.

since: 2.0

purple_notify_user_info_prepend_pair_html

Like purple_notify_user_info_add_pair_html(), but the pair is inserted at the beginning of the list.

since: 3.0

purple_notify_user_info_prepend_pair_plaintext

Like purple_notify_user_info_prepend_pair_html(), but value should be plaintext and will be escaped using g_markup_escape_text().

since: 3.0

purple_notify_user_info_prepend_section_break

Prepend a section break. A UI might display this as a horizontal line.

since: 2.5

purple_notify_user_info_prepend_section_header

Prepend a section header. A UI might display this in a different font from other text.

since: 2.5

purple_notify_user_info_remove_entry

Remove a PurpleNotifyUserInfoEntry from a PurpleNotifyUserInfo object without freeing the entry.

since: 2.0

purple_notify_user_info_remove_last_item

Remove the last item which was added to a PurpleNotifyUserInfo. This could be used to remove a section header which is not needed.

since: 2.0