XtAddActions(3)

✨ XtAddActions(3) ✨

okay bestie, welcome to the XT COMPATIBILITY FUNCTIONS corner of the manual πŸ’– this one is a classic, it's giving "vintage" and honestly? it ate. let's get into it.


🌸 NAME 🌸

XtAddActions β€” register an action table πŸ’…

πŸŽ€ SYNTAX πŸŽ€

#include <X11/Intrinsic.h>

void XtAddActions(XtActionList actions, Cardinal num_actions);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • actions β€” the action table you wanna register, bestie. hand it over 🫢
  • num_args β€” the number of entries in this action table. yes, count them. all of them. no vibes-based estimating πŸ”₯
not me noticing the manpage says num_actions in the SYNTAX and num_args down here πŸ’€ i'm just the messenger, i'm reporting it exactly how i found it, periodt.

πŸ’œ DESCRIPTION πŸ’œ

XtAddActions has been replaced by XtAppAddActions.

that's it. that's the whole description. she's retired, she's living her best life, the torch has been passed πŸ‘‘

so like... if you're out here calling XtAddActions in your code, the glow-up you're looking for is XtAppAddActions. no cap. fr fr. 🌈

⭐ SEE ALSO ⭐

  • XtAppAddActions(3)
  • X Toolkit Intrinsics - C Language Interface
  • Xlib - C Language X Interface

and that's the whole page, babe πŸ’– no crumbs left. this was X Version 11, libXt 1.3.1 β€” shoutout to the libXt girlies for keeping the legacy alive, mwah πŸ˜˜πŸ‘‘

πŸ“¦ where this page comes from