Method

PurpleRequestFieldListadd_icon

Declaration [src]

void
purple_request_field_list_add_icon (
  PurpleRequestFieldList* field,
  const char* item,
  const char* icon_path,
  gpointer data
)

Description [src]

Adds an item to a list field.

Parameters

item

Type: const char*

The list item.

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

Type: const char*

The path to icon file, or NULL for no icon.

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

Type: gpointer

The associated data.

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