Method

PurpleRequestFieldChoiceadd

Declaration [src]

void
purple_request_field_choice_add (
  PurpleRequestFieldChoice* field,
  const char* label,
  gpointer data
)

Description [src]

Adds a choice to a multiple choice field.

Parameters

label

Type: const char*

The choice label.

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

Type: gpointer

The choice value.

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