Method

PurpleRequestFieldsis_field_required

Declaration [src]

gboolean
purple_request_fields_is_field_required (
  const PurpleRequestFields* fields,
  const char* id
)

Description [src]

Returns whether or not a field with the specified ID is required.

Parameters

id const char*
 

The field ID.

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

Return value

Returns: gboolean
 

TRUE if the specified field is required, or FALSE.