XMREMOVEFROMPOSTFROMLIST(3)

πŸ“¦
version 2.5.2 Β· 2 versions
, in alpine 3.24, arch rolling, centos-stream 9, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– XmRemoveFromPostFromList πŸ’–

okay so bestie, welcome to the XmRemoveFromPostFromList era β€” it's a library call from the Xm family, section 3 of the manual, and it's genuinely so real of her. she's a RowColumn function whose whole job is disabling a menu for one particular widget. no drama, no destruction, just a quiet little "you don't get to post this anymore" ✨


🌸 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 πŸ¦‹

so here's the tea: XmRemoveFromPostFromList makes a Popup or Pulldown menu no longer accessible from a widget. that's it, that's the whole vibe.

and like, important β€” this function does not destroy a menu, and it does not deallocate the memory associated with it. nothing gets freed, nothing gets yeeted into the void. she simply removes the widget from the menu's list of widgets that are permitted to post that menu. lowkey surgical. πŸ’…

now for the specifics, because the details are everything:

  • 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, then the post_from_widget widget must be either a CascadeButton or a CascadeButtonGadget. no cap, that's the requirement. πŸ™ˆ

the arguments, bestie 🫢

  • menu β€” Specifies the widget ID of 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.

and if you want the complete definition of RowColumn and all its associated resources, go check out XmRowColumn(3). she's the main character, fr fr. πŸ‘‘



and that's the whole page, babes πŸ’œ this iconic little writeup came straight out of the XmRemoveFromPostFromList(library call) source β€” go off, go read your other manpages, and remember: you can take the widget off the list but you can't take the vibe. periodt. πŸŒΈβœ¨πŸ’–