Blame man/XtRegisterDrawable.man

Packit 0d0b0c
.\" Copyright (c) 1993, 1994  X Consortium
Packit 0d0b0c
.\"
Packit 0d0b0c
.\" Permission is hereby granted, free of charge, to any person obtaining a
Packit 0d0b0c
.\" copy of this software and associated documentation files (the "Software"),
Packit 0d0b0c
.\" to deal in the Software without restriction, including without limitation
Packit 0d0b0c
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
Packit 0d0b0c
.\" and/or sell copies of the Software, and to permit persons to whom the
Packit 0d0b0c
.\" Software furnished to do so, subject to the following conditions:
Packit 0d0b0c
.\"
Packit 0d0b0c
.\" The above copyright notice and this permission notice shall be included in
Packit 0d0b0c
.\" all copies or substantial portions of the Software.
Packit 0d0b0c
.\"
Packit 0d0b0c
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
Packit 0d0b0c
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
Packit 0d0b0c
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
Packit 0d0b0c
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
Packit 0d0b0c
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
Packit 0d0b0c
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
Packit 0d0b0c
.\" SOFTWARE.
Packit 0d0b0c
.\"
Packit 0d0b0c
.\" Except as contained in this notice, the name of the X Consortium shall not
Packit 0d0b0c
.\" be used in advertising or otherwise to promote the sale, use or other
Packit 0d0b0c
.\" dealing in this Software without prior written authorization from the
Packit 0d0b0c
.\" X Consortium.
Packit 0d0b0c
.\"
Packit 0d0b0c
.ds tk X Toolkit
Packit 0d0b0c
.ds xT X Toolkit Intrinsics \- C Language Interface
Packit 0d0b0c
.ds xI Intrinsics
Packit 0d0b0c
.ds xW X Toolkit Athena Widgets \- C Language Interface
Packit 0d0b0c
.ds xL Xlib \- C Language X Interface
Packit 0d0b0c
.ds xC Inter-Client Communication Conventions Manual
Packit 0d0b0c
.ds Rn 3
Packit 0d0b0c
.ds Vn 2.2
Packit 0d0b0c
.hw XtRegister-Drawable XtUnregister-Drawable XtWindow-To-Widget wid-get
Packit 0d0b0c
.na
Packit 0d0b0c
.de Ds
Packit 0d0b0c
.nf
Packit 0d0b0c
.\\$1D \\$2 \\$1
Packit 0d0b0c
.ft CW
Packit 0d0b0c
.ps \\n(PS
Packit 0d0b0c
.\".if \\n(VS>=40 .vs \\n(VSu
Packit 0d0b0c
.\".if \\n(VS<=39 .vs \\n(VSp
Packit 0d0b0c
..
Packit 0d0b0c
.de De
Packit 0d0b0c
.ce 0
Packit 0d0b0c
.if \\n(BD .DF
Packit 0d0b0c
.nr BD 0
Packit 0d0b0c
.in \\n(OIu
Packit 0d0b0c
.if \\n(TM .ls 2
Packit 0d0b0c
.sp \\n(DDu
Packit 0d0b0c
.fi
Packit 0d0b0c
..
Packit 0d0b0c
.de IN		\" send an index entry to the stderr
Packit 0d0b0c
..
Packit 0d0b0c
.de Pn
Packit 0d0b0c
.ie t \\$1\fB\^\\$2\^\fR\\$3
Packit 0d0b0c
.el \\$1\fI\^\\$2\^\fP\\$3
Packit 0d0b0c
..
Packit 0d0b0c
.de ZN
Packit 0d0b0c
.ie t \fB\^\\$1\^\fR\\$2
Packit 0d0b0c
.el \fI\^\\$1\^\fP\\$2
Packit 0d0b0c
..
Packit 0d0b0c
.ny0
Packit 0d0b0c
.TH XtRegisterDrawable __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
Packit 0d0b0c
.SH NAME
Packit 0d0b0c
XtRegisterDrawable \- register a drawable with the Intrinsics event dispatcher
Packit 0d0b0c
.SH SYNTAX
Packit 0d0b0c
.HP
Packit 0d0b0c
void XtRegisterDrawable(Display* \fIdisplay\fP, Drawable \fIdrawable\fP,
Packit 0d0b0c
Widget \fIwidget\fP);
Packit 0d0b0c
.HP
Packit 0d0b0c
void XtUnregisterDrawable(Display* \fIdisplay\fP, Drawable \fIdrawable\fP);
Packit 0d0b0c
.SH ARGUMENTS
Packit 0d0b0c
.IP \fIdisplay\fP 1i
Packit 0d0b0c
Specifies the drawable's display.
Packit 0d0b0c
.IP \fIdrawable\fP 1i
Packit 0d0b0c
Specifies the drawable to register.
Packit 0d0b0c
.IP \fIwidget\fP 1i
Packit 0d0b0c
Specifies the widget to register the drawable for.
Packit 0d0b0c
.SH DESCRIPTION
Packit 0d0b0c
.ZN XtRegisterDrawable
Packit 0d0b0c
associates the specified drawable with the specified widget so that
Packit 0d0b0c
future calls to
Packit 0d0b0c
.ZN XtWindowToWidget
Packit 0d0b0c
with the drawable will return the widget. The default event dispatcher
Packit 0d0b0c
will dispatch future core events that arrive with the drawable to the
Packit 0d0b0c
widget as though the event contained the widget's window, but the event
Packit 0d0b0c
itself will not be changed in any way when being passed to even handler
Packit 0d0b0c
or action procedures.
Packit 0d0b0c
.LP
Packit 0d0b0c
If the drawable is already registered with another widget, or if the
Packit 0d0b0c
drawable is the window of a widget in the client's widget tree, the
Packit 0d0b0c
results of calling
Packit 0d0b0c
.ZN XtRegisterDrawable
Packit 0d0b0c
are undefined.
Packit 0d0b0c
.LP
Packit 0d0b0c
.ZN XtUnregisterDrawable
Packit 0d0b0c
removes an association created with
Packit 0d0b0c
.ZN XtRegisterDrawable .
Packit 0d0b0c
If the drawable is the window of a widget in the client's widget tree
Packit 0d0b0c
the results of calling
Packit 0d0b0c
.ZN XtUnregisterDrawable
Packit 0d0b0c
are undefined.
Packit 0d0b0c
.SH "SEE ALSO"
Packit 0d0b0c
.br
Packit 0d0b0c
\fI\*(xT\fP
Packit 0d0b0c
.br
Packit 0d0b0c
\fI\*(xL\fP