Method

PurpleRequestFieldChoiceadd_full

unstable since: 3.0

Declaration [src]

void
purple_request_field_choice_add_full (
  PurpleRequestFieldChoice* field,
  const char* label,
  gpointer data,
  GDestroyNotify destroy
)

Description [src]

Adds a choice to a multiple choice field with destructor for value.

Available since: 3.0

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.
destroy

Type: GDestroyNotify

The value destroy function.