2010-05-18 13:28:54 -06:00
'\" t
. \" Title: xilistproperties
. \" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
2020-01-04 10:56:26 -07:00
. \" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/>
. \" Date: 06/19/2019
2013-05-31 09:15:07 -06:00
. \" Manual: \ \&
. \" Source: \ \&
2010-05-18 13:28:54 -06:00
. \" Language: English
. \"
2020-01-04 10:56:26 -07:00
.TH "XILISTPROPERTIES" "libmansuffix" "06/19/2019" "\ \&" "\ \&"
2011-07-02 15:14:36 -06:00
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
2010-05-18 13:28:54 -06:00
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
2011-07-02 15:14:36 -06:00
XIListProperties \- List a device\* (Aqs properties\& .
2010-05-18 13:28:54 -06:00
.SH "SYNOPSIS"
.sp
.nf
#include <X11/extensions/XInput2\& .h>
.fi
.sp
.nf
Atom* XListProperties( Display *display,
int deviceid,
int *nprops_return);
.fi
.sp
.nf
display
Specifies the connection to the X server\& .
.fi
.sp
.nf
deviceid
The device to list the properties for\& .
.fi
.sp
.nf
nprops_return
Specifies the number of Atoms returned\& .
.fi
.SH "DESCRIPTION"
.sp
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\& .
.sp
The client is expected to free the list of properties using XFree\& .
.sp
XIListProperties can generate a BadDevice error\& .
.SH "DIAGNOSTICS"
.sp
BadDevice An invalid device was specified\& . The device does not exist\& .
.SH "SEE ALSO"
.sp
XIChangeProperty(libmansuffix), XIGetProperty(libmansuffix), XIDeleteProperty(libmansuffix)