Method

PurpleRequestPageget_choice

unstable since: 3.0

Declaration [src]

gpointer
purple_request_page_get_choice (
  PurpleRequestPage* page,
  const char* id
)

Description [src]

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

Available since: 3.0

Parameters

id

Type: const char*

The ID of the field.

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

Return value

Type: gpointer

The choice value, if found, or NULL otherwise.

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