Method

PurpleRequestFieldChoiceadd_full

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

Type: GDestroyNotify

The value destroy function.