Event handling

Name

gicFeatureActivate, gicFeatureHandleEvent : Event handling

Synopsis

#include <ggi/gic.h>

int gicFeatureActivate(gic_handle_t hand,
      gic_feature *feature,gic_state newstate,gic_flag flag,int recnum);

int gicFeatureHandleEvent(gic_handle_t hand,
      gic_feature *feature, gii_event *event);

Description

To manually activate a feature, call gicFeatureActivate. This will activate the relevant callbacks.

You can feed events to gicFeatureHandleEvent to activate the relevant callbacks. However, usually one uses gicContextHandleEvent(3).

Return value

See Also