Method

PurplePluginPrefadd_choice

Declaration [src]

void
purple_plugin_pref_add_choice (
  PurplePluginPref* pref,
  const char* label,
  gpointer choice
)

Description [src]

Set the choices for a choices plugin pref.

Parameters

label const char*
 

The label for the choice.

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

A gpointer of the choice.

 The argument can be NULL.
 The data is owned by the caller of the function.