Method

PurpleAccountSettingStringListset_active_item

unstable since: 3.0

Declaration [src]

void
purple_account_setting_string_list_set_active_item (
  PurpleAccountSettingStringList* setting,
  const char* id
)

Description [src]

Sets the active item.

If id is NULL any previously active item will be deactivated.

If id is not NULL and an item with id can not be found, the active item will not be changed.

Available since: 3.0

Parameters

id

Type: const char*

The id of the new active item.

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