Method

PurpleRequestFieldChoiceadd

unstable since: 3.0

Declaration [src]

void
purple_request_field_choice_add (
  PurpleRequestFieldChoice* field,
  const char* id,
  const char* label
)

Description [src]

Adds a choice to the field.

Available since: 3.0

Parameters

id

Type: const char*

The id.

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 data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.