diff options
Diffstat (limited to 'man/XtDisplayInitialize.man')
-rw-r--r-- | man/XtDisplayInitialize.man | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/man/XtDisplayInitialize.man b/man/XtDisplayInitialize.man index a36c1cc..d5b6be4 100644 --- a/man/XtDisplayInitialize.man +++ b/man/XtDisplayInitialize.man @@ -1,26 +1,26 @@ .\" 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 +.\" 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 +.\" 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 +.\" +.\" 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. .\" .ds tk X Toolkit @@ -130,18 +130,18 @@ XtDisplayInitialize, XtOpenDisplay, XtDatabase, XtScreenDatabase, XtCloseDisplay void XtDisplayInitialize(XtAppContext \fIapp_context\fP, Display *\fIdisplay\fP, String \fIapplication_name\fP, String \fIapplication_class\fP, XrmOptionDescRec *\fIoptions\fP, Cardinal \fInum_options\fP, int *\fIargc\fP, -String *\fIargv\fP); +String *\fIargv\fP); .HP Display *XtOpenDisplay(XtAppContext \fIapp_context\fP, String \fIdisplay_string\fP, String \fIapplication_name\fP, String \fIapplication_class\fP, XrmOptionDescRec *\fIoptions\fP, Cardinal -\fInum_options\fP, int *\fIargc\fP, String *\fIargv\fP); +\fInum_options\fP, int *\fIargc\fP, String *\fIargv\fP); .HP -void XtCloseDisplay(Display *\fIdisplay\fP); +void XtCloseDisplay(Display *\fIdisplay\fP); .HP XrmDatabase XtDatabase(Display *\fIdisplay\fP); .HP -XrmDatabase XtScreenDatabase(Screen* \fIscreen\fP); +XrmDatabase XtScreenDatabase(Screen* \fIscreen\fP); .SH ARGUMENTS .IP \fIargc\fP 1i Specifies a pointer to the number of command line parameters. @@ -172,10 +172,10 @@ The .ZN XtDisplayInitialize function builds the resource database, calls the Xlib .ZN XrmParseCommand -function to parse the command line, +function to parse the command line, and performs other per display initialization. -After -.ZN XrmParseCommand +After +.ZN XrmParseCommand has been called, argc and argv contain only those parameters that were not in the standard option table or in the table specified by the @@ -204,13 +204,13 @@ for widgets created on this display. The .ZN XtOpenDisplay function calls -.ZN XOpenDisplay +.ZN XOpenDisplay the specified display name. If display_string is NULL, .ZN XtOpenDisplay -uses the current value of the \-display option specified in argv +uses the current value of the \-display option specified in argv and if no display is specified in argv, -uses the user's default display (on UNIX-based systems, +uses the user's default display (on UNIX-based systems, this is the value of the DISPLAY environment variable). .LP If this succeeds, it then calls @@ -236,7 +236,7 @@ If called from within an event dispatch (for example, a callback procedure), does not close the display until the dispatch is complete. Note that applications need only call .ZN XtCloseDisplay -if they are to continue executing after closing the display; +if they are to continue executing after closing the display; otherwise, they should call .ZN XtDestroyApplicationContext or just exit. @@ -253,7 +253,7 @@ the results are not defined. The .ZN XtScreenDatabase function returns the fully merged resource database associated with the -specified screen. If the \fIscreen\fP does not belong to a +specified screen. If the \fIscreen\fP does not belong to a .ZN Display initialized by .ZN XtDisplayInitialize , |