XtGetSelectionTimeout(3)

πŸ’– XtGetSelectionTimeout β€” the tea β˜•

okay bestie, welcome to XtGetSelectionTimeout(3) πŸ’… this little page lives in the XT COMPATIBILITY FUNCTIONS corner of the X world, and honestly? it's giving "vintage, but still works." let's get into it 🫢


✨ NAME ✨

XtGetSelectionTimeout, XtSetSelectionTimeout β€” set and obtain selection timeout values 🌸

✨ SYNTAX ✨

#include <X11/Intrinsic.h>

unsigned long XtGetSelectionTimeout(void);

void XtSetSelectionTimeout(unsigned long timeout);

like, that's it. two functions, no cap. πŸŽ€

✨ ARGUMENTS ✨

  • timeout β€” Specifies the selection timeout in milliseconds. ⏱️ that's milliseconds, bestie, not seconds, not vibes, literal ms.

✨ DESCRIPTION ✨

okay so here's the situation πŸ‘‘

The XtGetSelectionTimeout function has been superseded by XtAppGetSelectionTimeout.

The XtSetSelectionTimeout function has been superseded by XtAppSetSelectionTimeout.

no shade but "superseded" means there's a newer, better glow-up version of these β€” XtAppGetSelectionTimeout and XtAppSetSelectionTimeout are the main characters now. these two are the legacy icons still hanging around for compatibility. πŸ’€ use the App versions if you're writing new code, fr fr.

✨ SEE ALSO ✨


and that's the whole page, periodt πŸ’… go forth and set your selection timeouts responsibly, bestie 🌈

X Version 11 ✦ libXt 1.3.1 β€” mwah, love u, bye πŸ‘‘πŸ’–

πŸ“¦ where this page comes from