Name

struct _EConfigItem — A configuration item.

Synopsis

struct _EConfigItem {
  enum _e_config_t type;
  char * path;
  char * label;
  EConfigItemFactoryFunc factory;
  void * user_data;
};  

Members

type

The configuration item type.

path

An absolute path positioning this item in the configuration window. This will be used as a sort key for an ASCII sort to position the item in the layout tree.

label

A label or section title string which is used if no factory is supplied to title the page or section.

factory

If supplied, this will be invoked instead to create the appropriate item.

user_data

User data for the factory.

Description

The basic descriptor of a configuration item. This may be subclassed to store extra context information for each item.

Description

The basic descriptor of a configuration item. This may be subclassed to store extra context information for each item.