Copyright (C) 2000-2012 |
Manpages XtOpenApplicationSection: XT FUNCTIONS (3Xt)Updated: Release 6.5 Index Return to Main Contents NAMEXtOpenApplication, XtVaOpenApplication - initialize, open, or close a displaySYNTAXWidget XtOpenApplication(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, widget_class, args, num_args)XtAppContext* app_context_return; String application_class; XrmOptionDescRec* options; Cardinal num_options; int* argc_in_out; String* argv_in_out; String* fallback_resources; WidgetClass widget_class; ArgList args; Cardinal num_args;
Widget XtVaOpenApplication(app_context_return, application_class,
options, num_options, argc_in_out, argv_in_out,
fallback_resources, widget_class, ...)
ARGUMENTS
DESCRIPTIONThe XtOpenApplication 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, the specified widget_class, 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 XtOpenApplication terminates the application. If fallback_resources is non-NULL, XtAppSetFallbackResources is called with the value prior to calling XtOpenDisplay.XtAppInitialize and XtVaAppInitialize have been superceded by XtOpenApplication and XtVaOpenApplication respectively. SEE ALSOXtAppInitialize(3Xt), XtVaAppInitialize(3Xt)X Toolkit Intrinsics - C Language Interface Xlib - C Language X Interface
IndexThis document was created by man2html, using the manual pages. Time: 14:20:25 GMT, April 25, 2024 |