---
name: "XmImFreeXIC"
section: "3"
platform: "linux"
package: "openmotif"
version: "2.3.8-4"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/XmImFreeXIC"
---

# XmImFreeXIC(3)

An input manager function that unregisters widgets for an XIC

## NAME

**XmImFreeXIC** — An input manager function that unregisters widgets for an XIC

## SYNOPSIS

```
#include <Xm/XmIm.h>
void XmImFreeXIC(
Widget widget,
XIC xic);
```

## DESCRIPTION

**XmImFreeXIC** unregisters all widgets associated with the specified X Input Context (XIC). The specified *widget* must be associated with the specified *xic*.

After unregistering the associated widgets, this call frees the *xic*.

- *widget*

  Specifies the ID of a widget used to identify the **VendorShell** and **XmDisplay** that maintain the widget-XIC registry.

- *xic*

  Specifies the Input Context associated with the widget.

## RELATED

[**XmImGetXIC**(3)](/XmImGetXIC/3.md) and [**XmImSetXIC**(3)](/XmImSetXIC/3.md).
