Method

PurpleRequestFieldListadd

unstable since: 3.0

Declaration [src]

void
purple_request_field_list_add (
  PurpleRequestFieldList* field,
  const char* id,
  const char* label
)

Description [src]

Creates a new item and adds it to a list.

This is a helper to avoid having to create the BirbLocalizedString yourself.

Available since: 3.0

Parameters

id

Type: const char*

The id.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
label

Type: const char*

The label.

The argument can be NULL.
The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.