Method
PurpleNotifyUserInfoprepend_pair_plaintext
since: 3.0
Declaration [src]
void
purple_notify_user_info_prepend_pair_plaintext (
PurpleNotifyUserInfo* user_info,
const char* label,
const char* value
)
Description [src]
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
Parameters
label
-
Type:
const char*
A label, which for example might be displayed by a UI with a colon after it (“Status:”). Do not include a colon. If
NULL
, value will be displayed without a label.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. value
-
Type:
const char*
The value, which might be displayed by a UI after the label. This will be escaped to produce valid HTML. If you want to insert HTML then use purple_notify_user_info_prepend_pair_html(), instead. If this is
NULL
the label will still be displayed; the UI should treat label as independent and not include a colon if it would otherwise.The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.