Method

PurpleRequestFieldsget_choice

Declaration [src]

gpointer
purple_request_fields_get_choice (
  const PurpleRequestFields* fields,
  const char* id
)

Description [src]

Returns the choice index of a field with the specified ID.

Parameters

id const char*
 

The ID of the field.

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

Return value

Returns: gpointer
 

The choice value, if found, or NULL otherwise.

 The data is owned by the instance.
 The return value can be NULL.