Function

Purplenotify_userinfo

since: 2.0

Declaration [src]

void*
purple_notify_userinfo (
  PurpleConnection* gc,
  const char* who,
  PurpleNotifyUserInfo* user_info,
  PurpleNotifyCloseCallback cb,
  gpointer user_data
)

Description [src]

Displays user information with formatted text, passing information giving the connection and username from which the user information came.

The text is essentially a stripped-down format of HTML, the same that IMs may send.

Available since: 2.0

Parameters

gc

Type: PurpleConnection

The PurpleConnection handle associated with the information.

The data is owned by the caller of the function.
who

Type: const char*

The username associated with the information.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
user_info

Type: PurpleNotifyUserInfo

The PurpleNotifyUserInfo which contains the information.

The data is owned by the caller of the function.
cb

Type: PurpleNotifyCloseCallback

The callback to call when the user closes the notification.

user_data

Type: gpointer

The data to pass to the callback.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: void*

A UI-specific handle.

The data is owned by the called function.
The return value can be NULL.