hpux man page for xtopenapplication

Query: xtopenapplication

OS: hpux

Section: 3x

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

XtOpenApplication(3X)						   XT FUNCTIONS 					     XtOpenApplication(3X)

NAME
XtOpenApplication - initialize, open, or close a display
SYNTAX
Widget XtOpenApplication(app_context_return, application_class, options, 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;
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. widget_class Specifies the widget class of the shell to be created. 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.
DESCRIPTION
The XtOpenApplication function calls XtToolkitInitialize followed by XtCreateApplicationContext, then calls XtOpenDisplay with dis- play_string NULL and application_name NULL, and finally calls XtAppCreateShell with appcation_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 dis- play specified by the command line cannot be opened, an error message is issued and XtOpenApplication terminates the application. If fall- back_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 ALSO
XtVaOpenApplication(3X) X Version 11 Release 6 XtOpenApplication(3X)
Related Man Pages
xtopenapplication(3) - debian
xtvaopenapplication(3) - centos
xtopenapplication(3) - x11r4
xtvaopenapplication(3) - x11r4
xtvaopenapplication(3x) - hpux
Similar Topics in the Unix Linux Community
How to find who opened/modified a file last