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

# XmMainWindowSep3(3)

A MainWindow function that returns the widget ID of the third Separator widget

## NAME

**XmMainWindowSep3** — A MainWindow function that returns the widget ID of the third Separator widget

## SYNOPSIS

```
#include <Xm/MainW.h>
Widget XmMainWindowSep3(
Widget widget);
```

## DESCRIPTION

**XmMainWindowSep3** returns the widget ID of the third Separator in the MainWindow. The third Separator is located between the message window and the widget above it. This Separator is visible only when **XmNshowSeparator** is True.

**NOTE:** **XmMainWindowSep3** is obsolete and exists for compatibility with previous releases. Use **XtNameToWidget** instead. Pass a MainWindow variable as the first argument to **XtNameToWidget** and pass **Separator3** as the second argument.

- *widget*

  Specifies the MainWindow widget ID

For a complete definition of MainWindow and its associated resources, see [**XmMainWindow**(3)](/XmMainWindow/3.md).

## RETURN

Returns the widget ID of the third Separator.

## RELATED

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