head	1.1;
branch	1.1.1;
access;
symbols
	netbsd-11-0-RC5:1.1.1.6
	netbsd-11-0-RC4:1.1.1.6
	netbsd-11-0-RC3:1.1.1.6
	netbsd-11-0-RC2:1.1.1.6
	netbsd-11-0-RC1:1.1.1.6
	netbsd-11:1.1.1.6.0.2
	netbsd-11-base:1.1.1.6
	netbsd-10-1-RELEASE:1.1.1.5
	libXt-1-3-1:1.1.1.6
	netbsd-8-3-RELEASE:1.1.1.4
	netbsd-9-4-RELEASE:1.1.1.5
	netbsd-10-0-RELEASE:1.1.1.5
	netbsd-10-0-RC6:1.1.1.5
	netbsd-10-0-RC5:1.1.1.5
	netbsd-10-0-RC4:1.1.1.5
	netbsd-10-0-RC3:1.1.1.5
	netbsd-10-0-RC2:1.1.1.5
	netbsd-10-0-RC1:1.1.1.5
	libXt-1-3-0:1.1.1.6
	netbsd-10:1.1.1.5.0.4
	netbsd-10-base:1.1.1.5
	netbsd-9-3-RELEASE:1.1.1.5
	netbsd-9-2-RELEASE:1.1.1.5
	libXt-1-2-1:1.1.1.5
	netbsd-9-1-RELEASE:1.1.1.5
	netbsd-8-2-RELEASE:1.1.1.4
	netbsd-9-0-RELEASE:1.1.1.5
	netbsd-9-0-RC2:1.1.1.5
	netbsd-9-0-RC1:1.1.1.5
	netbsd-9:1.1.1.5.0.2
	netbsd-9-base:1.1.1.5
	libXt-1-2-0:1.1.1.5
	netbsd-8-1-RELEASE:1.1.1.4
	netbsd-8-1-RC1:1.1.1.4
	netbsd-7-2-RELEASE:1.1.1.4
	netbsd-8-0-RELEASE:1.1.1.4
	netbsd-8-0-RC2:1.1.1.4
	netbsd-8-0-RC1:1.1.1.4
	netbsd-7-1-2-RELEASE:1.1.1.4
	netbsd-7-1-1-RELEASE:1.1.1.4
	netbsd-8:1.1.1.4.0.10
	netbsd-8-base:1.1.1.4
	netbsd-7-1:1.1.1.4.0.8
	netbsd-7-1-RELEASE:1.1.1.4
	netbsd-7-1-RC2:1.1.1.4
	netbsd-7-1-RC1:1.1.1.4
	netbsd-7-0-2-RELEASE:1.1.1.4
	netbsd-7-0-1-RELEASE:1.1.1.4
	netbsd-7-0:1.1.1.4.0.6
	netbsd-7-0-RELEASE:1.1.1.4
	netbsd-7-0-RC3:1.1.1.4
	netbsd-7-0-RC2:1.1.1.4
	libXt-1-1-5:1.1.1.4
	netbsd-7-0-RC1:1.1.1.4
	netbsd-5-2-3-RELEASE:1.1.1.1
	netbsd-5-1-5-RELEASE:1.1.1.1
	netbsd-6-0-6-RELEASE:1.1.1.3
	netbsd-6-1-5-RELEASE:1.1.1.3
	netbsd-7:1.1.1.4.0.4
	netbsd-7-base:1.1.1.4
	netbsd-6-1-4-RELEASE:1.1.1.3
	netbsd-6-0-5-RELEASE:1.1.1.3
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.4
	riastradh-drm2:1.1.1.4.0.2
	riastradh-drm2-base:1.1.1.4
	netbsd-6-1-3-RELEASE:1.1.1.3
	netbsd-6-0-4-RELEASE:1.1.1.3
	netbsd-5-2-2-RELEASE:1.1.1.1
	netbsd-5-1-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.1.1.3
	netbsd-6-0-3-RELEASE:1.1.1.3
	netbsd-5-2-1-RELEASE:1.1.1.1
	netbsd-5-1-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.1.1.3
	libXt-1-1-4:1.1.1.4
	netbsd-6-1:1.1.1.3.0.6
	netbsd-6-0-2-RELEASE:1.1.1.3
	netbsd-6-1-RELEASE:1.1.1.3
	netbsd-6-1-RC4:1.1.1.3
	netbsd-6-1-RC3:1.1.1.3
	netbsd-6-1-RC2:1.1.1.3
	netbsd-6-1-RC1:1.1.1.3
	netbsd-5-2:1.1.1.1.0.8
	netbsd-6-0-1-RELEASE:1.1.1.3
	netbsd-5-2-RELEASE:1.1.1.1
	netbsd-5-2-RC1:1.1.1.1
	netbsd-6-0:1.1.1.3.0.4
	netbsd-6-0-RELEASE:1.1.1.3
	netbsd-6-0-RC2:1.1.1.3
	netbsd-6-0-RC1:1.1.1.3
	netbsd-6:1.1.1.3.0.2
	netbsd-6-base:1.1.1.3
	netbsd-5-1-2-RELEASE:1.1.1.1
	netbsd-5-1-1-RELEASE:1.1.1.1
	libXt-1-1-1:1.1.1.3
	libXt-1-0-9:1.1.1.2
	netbsd-5-1:1.1.1.1.0.6
	netbsd-5-1-RELEASE:1.1.1.1
	netbsd-5-1-RC4:1.1.1.1
	netbsd-5-1-RC3:1.1.1.1
	libXt-1-0-8:1.1.1.1
	netbsd-5-1-RC2:1.1.1.1
	netbsd-5-1-RC1:1.1.1.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	libXt-1-0-7:1.1.1.1
	netbsd-5-0-1-RELEASE:1.1.1.1
	libXt-1-0-6:1.1.1.1
	netbsd-5-0:1.1.1.1.0.4
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	netbsd-5-0-RC1:1.1.1.1
	netbsd-5:1.1.1.1.0.2
	netbsd-5-base:1.1.1.1
	libXt-1-0-5:1.1.1.1
	xorg:1.1.1;
locks; strict;
comment	@.\" @;


1.1
date	2008.07.30.02.56.54;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2008.07.30.02.56.54;	author mrg;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2010.11.21.05.48.36;	author mrg;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2011.07.23.12.23.56;	author mrg;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2013.05.31.09.19.54;	author mrg;	state Exp;
branches;
next	1.1.1.5;
commitid	UdAPYXenQVyEqLRw;

1.1.1.5
date	2019.07.11.05.43.09;	author mrg;	state Exp;
branches;
next	1.1.1.6;
commitid	E2KJZD7NBiU8uAuB;

1.1.1.6
date	2023.06.19.06.19.37;	author mrg;	state Exp;
branches;
next	;
commitid	Y9PJ5t07SQcSqwtE;


desc
@@


1.1
log
@Initial revision
@
text
@.\" $Xorg: XtAppInit.man,v 1.3 2000/08/17 19:41:58 cpqbld Exp $
.\"
.\" Copyright (c) 1993, 1994  X Consortium
.\" 
.\" Permission is hereby granted, free of charge, to any person obtaining a
.\" copy of this software and associated documentation files (the "Software"), 
.\" to deal in the Software without restriction, including without limitation 
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense, 
.\" and/or sell copies of the Software, and to permit persons to whom the 
.\" Software furnished to do so, subject to the following conditions:
.\" 
.\" The above copyright notice and this permission notice shall be included in
.\" all copies or substantial portions of the Software.
.\" 
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL 
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF 
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 
.\" SOFTWARE.
.\" 
.\" Except as contained in this notice, the name of the X Consortium shall not 
.\" be used in advertising or otherwise to promote the sale, use or other 
.\" dealing in this Software without prior written authorization from the 
.\" X Consortium.
.\"
.\" $XFree86: xc/doc/man/Xt/XtAppInit.man,v 1.5 2003/04/28 22:18:18 herrb Exp $
.\"
.ds tk X Toolkit
.ds xT X Toolkit Intrinsics \- C Language Interface
.ds xI Intrinsics
.ds xW X Toolkit Athena Widgets \- C Language Interface
.ds xL Xlib \- C Language X Interface
.ds xC Inter-Client Communication Conventions Manual
.ds Rn 3
.ds Vn 2.2
.hw XtApp-Initialize XtVa-App-Initialize
.na
.de Ds
.nf
.\\$1D \\$2 \\$1
.ft 1
.ps \\n(PS
.\".if \\n(VS>=40 .vs \\n(VSu
.\".if \\n(VS<=39 .vs \\n(VSp
..
.de De
.ce 0
.if \\n(BD .DF
.nr BD 0
.in \\n(OIu
.if \\n(TM .ls 2
.sp \\n(DDu
.fi
..
.de FD
.LP
.KS
.TA .5i 3i
.ta .5i 3i
.nf
..
.de FN
.fi
.KE
.LP
..
.de IN		\" send an index entry to the stderr
..
.de C{
.KS
.nf
.D
.\"
.\"	choose appropriate monospace font
.\"	the imagen conditional, 480,
.\"	may be changed to L if LB is too
.\"	heavy for your eyes...
.\"
.ie "\\*(.T"480" .ft L
.el .ie "\\*(.T"300" .ft L
.el .ie "\\*(.T"202" .ft PO
.el .ie "\\*(.T"aps" .ft CW
.el .ft R
.ps \\n(PS
.ie \\n(VS>40 .vs \\n(VSu
.el .vs \\n(VSp
..
.de C}
.DE
.R
..
.de Pn
.ie t \\$1\fB\^\\$2\^\fR\\$3
.el \\$1\fI\^\\$2\^\fP\\$3
..
.de ZN
.ie t \fB\^\\$1\^\fR\\$2
.el \fI\^\\$1\^\fP\\$2
..
.de NT
.ne 7
.ds NO Note
.if \\n(.$>$1 .if !'\\$2'C' .ds NO \\$2
.if \\n(.$ .if !'\\$1'C' .ds NO \\$1
.ie n .sp
.el .sp 10p
.TB
.ce
\\*(NO
.ie n .sp
.el .sp 5p
.if '\\$1'C' .ce 99
.if '\\$2'C' .ce 99
.in +5n
.ll -5n
.R
..
.		\" Note End -- doug kraft 3/85
.de NE
.ce 0
.in -5n
.ll +5n
.ie n .sp
.el .sp 10p
..
.ny0
.TH XtAppInitialize __libmansuffix__ __xorgversion__ "XT FUNCTIONS"
.SH NAME
XtAppInitialize, XtVaAppInitialize \- initialize, open, or close a display
.SH SYNTAX
.HP
Widget XtAppInitialize(XtAppContext* \fIapp_context_return\fP, String
\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, Cardinal
\fInum_options\fP, int* \fIargc_in_out\fP, String* \fIargv_in_out\fP, String*
\fIfallback_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP); 
.HP
Widget XtVaAppInitialize(XtAppContext* \fIapp_context_return\fP, String
\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP, Cardinal
\fInum_options\fP, int* \fIargc_in_out\fP, String* \fIargv_in_out\fP, String*
\fIfallback_resources\fP, ...\^); 
.SH ARGUMENTS
.IP \fIapp_context_return\fP 1i
Specifies the application context.
.ds Ac , which usually is the generic name for all instances of this application
.IP \fIapplication_class\fP 1i
Specifies the class name of this application\*(Ac.
.IP \fIoptions\fP 1i
Specifies how to parse the command line for any application-specific resources.
The options argument is passed as a parameter to
.ZN XrmParseCommand .
For further information,
see \fI\*(xL\fP.
.IP \fInum_options\fP 1i
Specifies the number of entries in the options list.
.IP \fIargc_in_out\fP 1i
Specifies a pointer to the number of command line parameters.
.IP \fIargv_in_out\fP 1i
Specifies the command line parameters.
.IP \fIfallback_resources\fP 1i
Specifies resource values to be used if the application class resource
file cannot be opened or read, or NULL.
.IP \fIargs\fP 1i
Specifies the argument list to override any other resource specification
for the created shell widget.
.IP \fInum_args\fP 1i
Specifies the number of entries in the argument list.
.IP \fI...\fP 1i
Specifies the variable argument list to override any other resource 
specification for the created shell widget.
.SH DESCRIPTION
The
.ZN XtAppInitialize
function calls
.ZN XtToolkitInitialize
followed by
.ZN XtCreateApplicationContext ,
then calls
.ZN XtOpenDisplay
with \fIdisplay_string\fP NULL and \fIapplication_name\fP NULL, and
finally calls
.ZN XtAppCreateShell
with \fIapplication_name\fP NULL, \fIwidget_class\fP
.ZN applicationShellWidgetClass ,
and the specified \fIargs\fP and \fInum_args\fP and returns the
created shell. The modified \fIargc\fP and \fIargv\fP returned by
.ZN XtDisplayInitialize
are returned in \fIargc_in_out\fP and \fIargv_in_out\fP. If
\fIapp_context_return\fP is not NULL, the created application context
is also returned. If the display specified by the command line cannot
be opened, an error message is issued and
.ZN XtAppInitialize
terminates the application. If \fIfallback_resources\fP is non-NULL,
.ZN XtAppSetFallbackResources
is called with the value prior to calling
.ZN XtOpenDisplay .
.LP
XtAppInitialize and XtVaAppInitialize have been superceded by
.ZN XtOpenApplication
and
.ZN XtVaOpenApplication
respectively.
.SH "SEE ALSO"
XtOpenApplication(3Xt), XtVaOpenApplication(3Xt)
.br
\fI\*(xT\fP
.br
\fI\*(xL\fP
@


1.1.1.1
log
@initial import of libXt-1.0.5
@
text
@@


1.1.1.2
log
@initial import of libXt-1.0.9
@
text
@d1 2
d28 2
@


1.1.1.3
log
@initial import of libXt-1.1.1.  important changes include:
	avoid some NULL derefs
	snprintf cleanup
	big-endian 64 bit fixes
@
text
@d201 1
a201 1
XtOpenApplication(__libmansuffix__), XtVaOpenApplication(__libmansuffix__)
@


1.1.1.4
log
@initial import of libXt-1.1.4
@
text
@d2 1
a2 1
.\"
d4 4
a7 4
.\" copy of this software and associated documentation files (the "Software"),
.\" to deal in the Software without restriction, including without limitation
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
.\" and/or sell copies of the Software, and to permit persons to whom the
d9 1
a9 1
.\"
d12 1
a12 1
.\"
d15 4
a18 4
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
.\" THE X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
d20 4
a23 4
.\"
.\" Except as contained in this notice, the name of the X Consortium shall not
.\" be used in advertising or otherwise to promote the sale, use or other
.\" dealing in this Software without prior written authorization from the
d39 1
a39 1
.ft CW
d53 12
d67 23
d98 26
d133 1
a133 1
\fIfallback_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP);
d138 1
a138 1
\fIfallback_resources\fP, ...\^);
d166 1
a166 1
Specifies the variable argument list to override any other resource
@


1.1.1.5
log
@initial import of libXt-1.2.0
@
text
@d36 28
a67 1
#include <X11/Intrinsic.h>
d69 4
a72 4
Widget XtAppInitialize(XtAppContext* \fIapp_context_return\fP,
const char *\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP,
Cardinal \fInum_options\fP, int *\fIargc_in_out\fP, char **\fIargv_in_out\fP,
String *\fIfallback_resources\fP, ArgList \fIargs\fP, Cardinal \fInum_args\fP);
d74 4
a77 4
Widget XtVaAppInitialize(XtAppContext* \fIapp_context_return\fP,
const char *\fIapplication_class\fP, XrmOptionDescRec* \fIoptions\fP,
Cardinal \fInum_options\fP, int *\fIargc_in_out\fP, char **\fIargv_in_out\fP,
String *\fIfallback_resources\fP, ...\^);
d81 1
d83 1
a83 1
Specifies the class name of this application, which usually is the generic name for all instances of this application.
d87 1
a87 1
.BR XrmParseCommand .
d109 1
a109 1
.B XtAppInitialize
d111 1
a111 1
.B XtToolkitInitialize
d113 1
a113 1
.BR XtCreateApplicationContext ,
d115 1
a115 1
.B XtOpenDisplay
d118 1
a118 1
.B XtAppCreateShell
d120 1
a120 1
.BR applicationShellWidgetClass ,
d122 2
a123 3
created shell.
The modified \fIargc\fP and \fIargv\fP returned by
.B XtDisplayInitialize
d126 1
a126 2
is also returned.
If the display specified by the command line cannot
d128 3
a130 4
.B XtAppInitialize
terminates the application.
If \fIfallback_resources\fP is non-NULL,
.B XtAppSetFallbackResources
d132 1
a132 1
.BR XtOpenDisplay .
d135 1
a135 1
.B XtOpenApplication
d137 1
a137 1
.B XtVaOpenApplication
@


1.1.1.6
log
@initial import of libXt-1.3.0
@
text
@d109 1
a109 1
XtAppInitialize and XtVaAppInitialize have been superseded by
@


