*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: XtOpenApplication | Section: 3 | Source: Digital UNIX | File: XtOpenApplication.3Xt.gz
XtOpenApplication(3Xt) XtOpenApplication(3Xt) NAME XtOpenApplication, XtVaOpenApplication - initialize, open, or close a display SYNOPSIS Widget XtOpenApplication(app_context_return, application_class, op- tions, num_options, argc_in_out, argv_in_out, fallback_resources, wid- get_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, op- tions, num_options, argc_in_out, argv_in_out, fallback_resources, wid- get_class, ...) 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; ARGUMENTS Specifies 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 ap- plication-specific resources. The options argument is passed as a para- meter to XrmParseCommand. For further information, see Xlib -- C Lan- guage 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 widget class of the shell to be created. Spec- ifies 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 argument list to override any other resource specification for the created shell widget. DESCRIPTION The XtOpenApplication 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 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 is- sued and XtOpenApplication terminates the application. If fallback_re- sources is non-NULL, XtAppSetFallbackResources is called with the value prior to calling XtOpenDisplay. XtAppInitialize and XtVaAppInitialize have been superceded by XtOpenAp- plication and XtVaOpenApplication respectively. SEE ALSO XtOpenApplication(3Xt), XtVaOpenApplication(3Xt) X Toolkit Intrinsics -- C Language Interface Xlib -- C Language X Interface XtOpenApplication(3Xt)

Navigation Options