Group multiple controls

Name

gic_context : Group multiple controls

Synopsis

#include <ggi/gic_structs.h>

#define GIC_NAMELEN   65

struct gic_context {
      char name[GIC_NAMELEN];         /* name of the context */
      /* list of attached controls */
      GG_SIMPLEQ_HEAD(, gic_controllist) controls;
};

struct gic_contextlist {
      GG_SIMPLEQ_ENTRY(gic_contextlist) next;
      struct gic_context *context;
};

Description

Contexts describe all "Controls" that are applicable in a given state of an application.

name

name of the context

controls

list of controls

See Also