Query: xtvaappinitialize
OS: osf1
Section: 3xt
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XtAppInitialize(3Xt) XtAppInitialize(3Xt)NAMEXtAppInitialize, XtVaAppInitialize - initialize, open, or close a displaySYNOPSISWidget XtAppInitialize(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, 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; ArgList args; Cardinal num_args; Widget XtVaAppInitialize(app_context_return, application_class, options, num_options, argc_in_out, argv_in_out, fallback_resources, ...) XtAppContext app_context_return; String application_class; XrmOptionDescRec* options; Cardinal num_options; int* argc_in_out; String* argv_in_out; String* fallback_resources;ARGUMENTSSpecifies the application context. Specifies the class name of this application, which usually is the generic name for all instances of this application. 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. Specifies the number of entries in the options list. Specifies a pointer to the number of command line parameters. Specifies the command line parameters. Specifies resource values to be used if the application class resource file cannot be opened or read, or NULL. Specifies the argument list to override any other resource specification for the created shell widget. Specifies the number of entries in the argument list. Specifies the variable argu- ment list to override any other resource specification for the created shell widget.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 speci- fied 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. XtAppInitialize and XtVaAppInitialize have been superceded by XtOpenApplication and XtVaOpenApplication respectively.NOTESIn internationalized applications, the XtSetLanguageProc function sets the language procedure for XtDisplayInitialize. In such applica- tions, the catopen call must execute following the call to XtAppInitialize (which indirectly calls XtDisplayInitialize through XtOpenDis- play). If the catopen call executes after XtSetLanguageProc but before the call that initializes the display, the application does not access translated messages when these are available for the language setting.SEE ALSOcatopen(3), XtOpenApplication(3Xt), XtSetLanguageProc(3Xt), XtVaOpenApplication(3Xt) X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtAppInitialize(3Xt)
Related Man Pages |
---|
xtappinitialize(3xt) - redhat |
xtvaappinitialize(3xt) - redhat |
xtvaappinitialize(3) - debian |
xtappinitialize(3) - suse |
xtvaappinitialize(3xt) - osf1 |
Similar Topics in the Unix Linux Community |
---|
how to change the default background color for x windows |
Motif Application will not refresh |