Struct

PurpleNotifyUserInfo

Description

struct PurpleNotifyUserInfo {
  /* No available fields */
}
No description available.

Constructors

purple_notify_user_info_new

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

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.

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.

purple_notify_user_info_add_section_break

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

purple_notify_user_info_add_section_header

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

purple_notify_user_info_destroy

Destroy a PurpleNotifyUserInfo.

purple_notify_user_info_get_entries

Retrieve the array of PurpleNotifyUserInfoEntry objects from a PurpleNotifyUserInfo.

purple_notify_user_info_get_text_with_newline

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

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.

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().

Available since: 3.0.0

purple_notify_user_info_prepend_section_break

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

purple_notify_user_info_prepend_section_header

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

purple_notify_user_info_remove_entry

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

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.