Struct

CamelProviderConfEntry

Description [src]

struct CamelProviderConfEntry {
  CamelProviderConfType type;
  const gchar* name;
  const gchar* depname;
  const gchar* text;
  const gchar* value;
}

Described a configuration entry shown to the user in an application. Some types do not use all the members.

The default values are taken from corresponding GObject properties of the provider’s CamelSettings descendant.

Structure members
type: CamelProviderConfType

A configuration entry type, one of CamelProviderConfType.

name: const gchar*

Name of the entry, corresponding to a CamelSettings descendant property name.

depname: const gchar*

Name of a dependency property, having this entry sensitive only if the depname is set; it can start with an exclamation mark (!), to negate the condition, aka to have this entry sensitive only if the depname is not set.

text: const gchar*

User-visible text describing the configuration entry; it should be localized.

value: const gchar*

It’s ignored for all but the CAMEL_PROVIDER_CONF_OPTIONS type, where it contains colon (:) separated pairs of key:value items for a combo box items; the value is localized with dgettext() using the translation domain of the provider.