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

# XmRemoveFromPostFromList(3)

a RowColumn function that disables a menu for a particular widget

## NAME

**XmRemoveFromPostFromList** — a RowColumn function that disables a menu for a particular widget

## SYNOPSIS

```
#include <Xm/RowColumn.h>

void XmRemoveFromPostFromList(
Widget menu,
Widget post_from_widget);
```

## DESCRIPTION

**XmRemoveFromPostFromList** makes a Popup or Pulldown menu no longer accessible from a widget. This function does not destroy a menu, or deallocate the memory associated with it. It simply removes the widget from the menu's list of widgets permitted to post that menu.

If the *menu* argument refers to a Popup menu, the event handlers are removed from the *post\_from\_widget* widget. If the argument refers to a Pulldown menu, its ID is removed from the **XmNsubMenuId** of the specified *post\_from\_widget*. Also, if the menu is a Pulldown menu, the *post\_from\_widget* widget must be either a CascadeButton or a CascadeButtonGadget.

- *menu*

  Specifies the widget ID of a the Popup or Pulldown menu to be made inaccessible from the *post\_from\_widget* widget.

- *post\_from\_widget*

  Specifies the widget ID of the widget which can no longer post the menu referred to by the *menu* argument..

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

## RELATED

[**XmAddToPostFromList**(3)](/XmAddToPostFromList/3.md), [**XmGetPostedFromWidget**(3)](/XmGetPostedFromWidget/3.md), and [**XmRowColumn**(3)](/XmRowColumn/3.md).
