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

# XmTabStackXYToWidget(3)

A TabStack function that converts a pixel coordinate to the widget ID of the tab occupying that space

## NAME

**XmTabStackXYToWidget** — A TabStack function that converts a pixel coordinate to the widget ID of the tab occupying that space

## SYNOPSIS

```
#include <Xm/TabStack.h>
Widget XmTabStackXYToWidget(
Widget widget,
int    x,
int    y);
```

## DESCRIPTION

**XmTabStackXYToWidget converts an X/Y pixel coordinate in the** **window if TabStack to the widget ID of the tab occupying that** **space.**

- *widget*

  **Specifies the TabStack widget ID**

- *x*

  **Specifies X coordinate to convert**

- *y*

  **Specifies Y coordinate to convert**

## RETURN

**Returns the widget ID of the tab occuring in the cpecified coordinate.**

## RELATED

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