| 1 |
'\" t |
| 2 |
.\" Title: xilistproperties |
| 3 |
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author] |
| 4 |
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> |
| 5 |
.\" Date: 09/05/2024 |
| 6 |
.\" Manual: \ \& |
| 7 |
.\" Source: \ \& |
| 8 |
.\" Language: English |
| 9 |
.\" |
| 10 |
.TH "XILISTPROPERTIES" "libmansuffix" "09/05/2024" "\ \&" "\ \&" |
| 11 |
.\" ----------------------------------------------------------------- |
| 12 |
.\" * Define some portability stuff |
| 13 |
.\" ----------------------------------------------------------------- |
| 14 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 15 |
.\" http://bugs.debian.org/507673 |
| 16 |
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html |
| 17 |
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| 18 |
.ie \n(.g .ds Aq \(aq |
| 19 |
.el .ds Aq ' |
| 20 |
.\" ----------------------------------------------------------------- |
| 21 |
.\" * set default formatting |
| 22 |
.\" ----------------------------------------------------------------- |
| 23 |
.\" disable hyphenation |
| 24 |
.nh |
| 25 |
.\" disable justification (adjust text to left margin only) |
| 26 |
.ad l |
| 27 |
.\" ----------------------------------------------------------------- |
| 28 |
.\" * MAIN CONTENT STARTS HERE * |
| 29 |
.\" ----------------------------------------------------------------- |
| 30 |
.SH "NAME" |
| 31 |
XIListProperties \- List a device\*(Aqs properties\&. |
| 32 |
.SH "SYNOPSIS" |
| 33 |
.sp |
| 34 |
.nf |
| 35 |
#include <X11/extensions/XInput2\&.h> |
| 36 |
.fi |
| 37 |
.sp |
| 38 |
.nf |
| 39 |
Atom* XListProperties( Display *display, |
| 40 |
int deviceid, |
| 41 |
int *nprops_return); |
| 42 |
.fi |
| 43 |
.sp |
| 44 |
.nf |
| 45 |
display |
| 46 |
Specifies the connection to the X server\&. |
| 47 |
.fi |
| 48 |
.sp |
| 49 |
.nf |
| 50 |
deviceid |
| 51 |
The device to list the properties for\&. |
| 52 |
.fi |
| 53 |
.sp |
| 54 |
.nf |
| 55 |
nprops_return |
| 56 |
Specifies the number of Atoms returned\&. |
| 57 |
.fi |
| 58 |
.SH "DESCRIPTION" |
| 59 |
.sp |
| 60 |
The XIListProperties function returns a list of the properties associated with the input device specified with deviceid\&. Each device may have an arbitrary number of properties attached, some of which were created by the driver and/or server, others created by clients at runtime\&. |
| 61 |
.sp |
| 62 |
The client is expected to free the list of properties using XFree\&. |
| 63 |
.sp |
| 64 |
XIListProperties can generate a BadDevice error\&. |
| 65 |
.SH "DIAGNOSTICS" |
| 66 |
.sp |
| 67 |
BadDevice An invalid device was specified\&. The device does not exist\&. |
| 68 |
.SH "SEE ALSO" |
| 69 |
.sp |
| 70 |
XIChangeProperty(libmansuffix), XIGetProperty(libmansuffix), XIDeleteProperty(libmansuffix) |