---
name: "ggiGetInput"
section: "3ggi"
platform: "linux"
package: "libggi2-dev"
version: "1:2.0.1-2"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/ggiGetInput/3ggi"
---

# ggiGetInput(3ggi)

Functions to translate from GGI visuals to GII input

## NAME

ggiGetInput, ggiDetachInput - Functions to translate from GGI visuals to GII input

## SYNOPSIS

**#include \<ggi/ggi.h\>**

**gii\_input\_t ggiGetInput(ggi\_visual\_t** *vis***);**

**gii\_input\_t ggiDetachInput(ggi\_visual\_t** *vis***);** .SH "DESCRIPTION"

**ggiGetInput** returns the underlying input-handle associated with a LibGGI visual, for use with the LibGII API.

**ggiDetachInput** also returns the underlying input-handle, but in adddition, it breaks the association between the given visual  and that input handle. After this has been done, no LibGGI event routines may be called on that visual handle, and when the visual handle is closed, the input will remain unaffected.

## SEE ALSO

giiSplitInput
