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

# XmImMbResetIC(3)

An input manager function that resets the input context for a widget

## NAME

**XmImMbResetIC** — An input manager function that resets the input context for a widget

## SYNOPSIS

```
#include <Xm/XmIm.h>
void XmImMbResetIC(
Widget widget,
char **mb);
```

## DESCRIPTION

**XmImMbResetIC** gets the XIC of the widget and resets it. It puts a pointer to a string containing the current preedit string to *mb*. The caller should free the returned string after use by calling **Xfree**.

- *widget*

  Specifies the ID of the widget.

- *mb*

  Contains a pointer to the preedit string upon return.

## RETURN VALUE

None

## SEE ALSO
