ggiDetachInput(3) Functions to translate from GGI visuals to GII input

Other Alias

ggiGetInput

SYNOPSIS


#include <ggi/ggi.h>
#define ggiGetInput(vis) ggiJoinInputs(vis, NULL)
gii_input_t ggiDetachInput(ggi_visual_t vis);

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 addition, 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.