XtAppInitializeSection: XT FUNCTIONS (3Xt)
Updated: Release 6.5
Return to Main Contents
NAMEXtAppInitialize, XtVaAppInitialize - initialize, open, or close a display
SYNTAXWidget XtAppInitialize(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, args, num_args)
Widget XtVaAppInitialize(app_context_return, application_class,
options, num_options, argc_in_out, argv_in_out,
DESCRIPTIONThe XtAppInitialize function calls XtToolkitInitialize followed by XtCreateApplicationContext, then calls XtOpenDisplay with display_string NULL and application_name NULL, and finally calls XtAppCreateShell with application_name NULL, widget_class applicationShellWidgetClass, and the specified args and num_args and returns the created shell. The modified argc and argv returned by XtDisplayInitialize are returned in argc_in_out and argv_in_out. If app_context_return 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 XtAppInitialize terminates the application. If fallback_resources is non-NULL, XtAppSetFallbackResources is called with the value prior to calling XtOpenDisplay.
SEE ALSOXtOpenApplication(3Xt), XtVaOpenApplication(3Xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
This document was created by man2html, using the manual pages.
Time: 15:28:53 GMT, May 19, 2013