SYNTAX
Widget XtAppInitialize(XtAppContext* app_context_return, String appli-
cation_class, XrmOptionDescRec* options, Cardinal num_options,
int* argc_in_out, String* argv_in_out, String* fall-
back_resources, ArgList args, Cardinal num_args);
Widget XtVaAppInitialize(XtAppContext* app_context_return, String
application_class, XrmOptionDescRec* options, Cardinal
num_options, int* argc_in_out, String* argv_in_out, String*
fallback_resources, ...);
ARGUMENTS
app_context_return
Specifies the application context.
application_class
Specifies the class name of this application, which usually
is the generic name for all instances of this application.
options Specifies how to parse the command line for any application-
specific resources. The options argument is passed as a
parameter to XrmParseCommand. For further information, see
Xlib - C Language X Interface.
num_options
Specifies the number of entries in the options list.
argc_in_out
Specifies a pointer to the number of command line parameters.
argv_in_out
Specifies the command line parameters.
fallback_resources
Specifies resource values to be used if the application class
resource file cannot be opened or read, or NULL.
args Specifies the argument list to override any other resource
specification for the created shell widget.
num_args Specifies the number of entries in the argument list.
... Specifies the variable argument list to override any other
resource specification for the created shell widget.
DESCRIPTION
The XtAppInitialize function calls XtToolkitInitialize followed by
XtCreateApplicationContext, then calls XtOpenDisplay with dis-
play_string NULL and application_name NULL, and finally calls XtAppCre-
ateShell with application_name NULL, widget_class applicationShellWid-
getClass, and the specified args and num_args and returns the created
Xlib - C Language X Interface
X Version 11 Release 6.6 XtAppInitialize(3Xt)
Man(1) output converted with
man2html
|