XpSelectInput(3Xp)
π XpSelectInput π
okay bestie, this is XpSelectInput from the 3Xp manual, chilling under XPRINT FUNCTIONS. It's the function that tells X which X Print events from a print context you actually care about. β¨
πΈ NAME πΈ
XpSelectInput β Specifies which X Print events, from the specified print context, the client is interested in. π
π¦ SYNOPSIS π¦
void XpSelectInput ( display, context, event_mask )
Display *display;
XPContext context;
unsigned long event_mask;
π ARGUMENTS π
displayβ Specifies a pointer to theDisplaystructure; returned fromXOpenDisplay. That's your display hookup, bestie. πcontextβ Specifies the print context from which to select events.event_maskβ Specifies the event mask. This mask is the bitwise OR one or more of the valid events mask bits (see below). No cap. β¨
π« DESCRIPTION π«
XpSelectInput selects which X Print events from the specified print context the client is interested in. The X Print Events are generated from a current print context, and not from a window as is the case with XSelectInput. That distinction is giving main character energy. π
π₯ STRUCTURES π₯
The bits for event_mask are defined in <X11/extensions/Print.h>:
#define XPNoEventMask 0
#define XPPrintMask (1L<<0)
#define XPAttributeMask (1L<<1)
The resulting events are defined in <X11/extensions/Print.h>:
#define XPPrintNotify 0
#define XPAttributeNotify 1
π DIAGNOSTICS π
BadValueβ The value specified forevent_maskis not valid.XPBadContextβ The specified print context is not valid.
okay so those are the diagnostics, bestie β no mystery bonus errors hiding in here. π«Ά
π FILES π
<X11/extensions/Print.h>
That's the whole vibe, bestie. This page comes from X Version 11, libXp 1.0.4, and it's XpSelectInput(3Xp). π«Άβ¨
π¦ where this page comes from
- arch rolling: libxp 1.0.4-3 Β· X11 AND X11-distribute-modifications-variant
- nixos 26.05: libxp 1.0.4
- nixpkgs unstable: libxp 1.0.4
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- Copyright 1996 Hewlett-Packard Company
- Copyright 1996 International Business Machines Corp
- Copyright 1996, 1999, 2004, Oracle and/or its affiliates. All rights reserved
- Copyright 1996 Novell, Inc
- Copyright 1996 Digital Equipment Corp
- Copyright 1996 Fujitsu Limited
- Copyright 1996 Hitachi, Ltd
- Copyright 1996 X Consortium, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms