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

# XmImUnregister(3)

An input manager function that removes a widget from association with its input manager

## NAME

**XmImUnregister** — An input manager function that removes a widget from association with its input manager

## SYNOPSIS

```
#include <Xm/XmIm.h>
void XmImUnregister(
Widget widget);
```

## DESCRIPTION

**XmImUnregister** removes the specified widget from the list of widgets registered for input by the input manager.

Note that the Text, TextField, and List widgets already call the **XmImRegister** internally. You should call the **XmImUnregister** function for these widgets before calling **XmImRegister**.

- *widget*

  Specifies the ID of the widget to be unregistered

## RELATED

[**XmImRegister**(3)](/XmImRegister/3.md).
