XtAppGetSelectionTimeout(3)
π XtAppGetSelectionTimeout β the XT FUNCTIONS girlies
okay bestie so this is XtAppGetSelectionTimeout(3), part of the X Toolkit Intrinsics (XT FUNCTIONS, periodt). Two lil functions that read and write the selection timeout value. Cute, small, important. Let's go. β¨
π NAME
XtAppGetSelectionTimeout, XtAppSetSelectionTimeout β set and obtain selection timeout values π«Ά
β¨ SYNTAX
#include <X11/Intrinsic.h>
unsigned long XtAppGetSelectionTimeout(XtAppContext app_context);
void XtAppSetSelectionTimeout(XtAppContext app_context, unsigned long
timeout);
like... two functions, one header, no notes π
π¦ ARGUMENTS
app_contextβ specifies the application context. (your app's whole vibe container, basically)timeoutβ specifies the selection timeout in milliseconds. β±οΈ
π DESCRIPTION
So XtAppGetSelectionTimeout returns the current selection timeout value, in milliseconds. That's it, that's the whole function, she's simple and she ate. π
And what even is the selection timeout? It's the time within which the two communicating applications have to respond to one another. Like a group chat where both people actually have to text back in time or the convo dies. π
The initial timeout value is set by the selectionTimeout application resource, or β if selectionTimeout is not specified β it defaults to five seconds. no cap.
Then XtAppSetSelectionTimeout sets the Intrinsics's selection timeout mechanism. π οΈ
β οΈ real talk though: most applications should not set the selection timeout. Note that. The manpage said it, I said it, it's canon. Leave it alone bestie, it's not your business. π
πΈ SEE ALSO
XtOwnSelection(3)- X Toolkit Intrinsics - C Language Interface
- Xlib - C Language X Interface
and that's the whole page, you're welcome, you're doing amazing, drink some water π§π
k byeeee β this came to you from X Version 11, libXt 1.3.1, and the header/footer date situation of XtAppGetSelectionTimeout(3). mwah π
π¦ where this page comes from
- alpine 3.22: libxt-doc 1.3.1-r0 Β· MIT
- alpine 3.23: libxt-doc 1.3.1-r0 Β· MIT
- alpine 3.24: libxt-doc 1.3.1-r0 Β· MIT
- arch rolling: libxt 1.3.1-1 Β· MIT AND HPND-sell-variant AND SMLNJ AND MIT-open-group AND X11
- fedora 43: libXt-devel 1.3.1-3.fc43 Β· MIT AND HPND-sell-variant AND SMLNJ AND MIT-open-group AND X11
- fedora 43: libXt-devel 1.3.1-3.fc43 Β· MIT AND HPND-sell-variant AND SMLNJ AND MIT-open-group AND X11
- fedora 44: libXt-devel 1.3.1-4.fc44 Β· MIT AND HPND-sell-variant AND SMLNJ AND MIT-open-group AND X11
- fedora 44: libXt-devel 1.3.1-4.fc44 Β· MIT AND HPND-sell-variant AND SMLNJ AND MIT-open-group AND X11
- opensuse-leap 16.0: libXt-devel 1.3.1-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXt-devel 1.3.1-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXt-devel 1.3.1-160000.3.2 Β· MIT
- opensuse-leap 16.0: libXt-devel 1.3.1-160000.3.2 Β· MIT
- Copyright 1993 X Consortium
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms