---
name: "gicFeatureActivate"
section: "3"
platform: "linux"
package: "libgiigic1-dev"
version: "1.1.2-2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/gicFeatureActivate"
---

# gicFeatureActivate(3)

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)](/gicContextHandleEvent/3.md)**.

## RETURN VALUE

TODO Write something useful here

## SEE ALSO

`gicContextHandleEvent(3)`
