XtVaOpenApplication(3)


HOME

XtOpenApplication

NAME
SYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO

NAME

XtOpenApplication, XtVaOpenApplication − initialize, open, or close a display

SYNTAX

Widget XtOpenApplication(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(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

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.

...

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 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 ALSO

XtAppInitialize(3Xt), XtVaAppInitialize(3Xt)
X Toolkit Intrinsics − C Language Interface
Xlib − C Language X Interface



More Linux Commands

manpages/XML::XPath::Node.3pm.html
XML::XPath::Node(3pm) - internal representation of a node...
The Node API aims to emulate DOM to some extent, however the API isnt quite compatible with DOM . This is to ease transition from XML::DOM programming to XML::X

manpages/mvscanw.3ncurses.html
mvscanw(3ncurses) - convert formatted input from a curses wi
The scanw, wscanw and mvscanw routines are analogous to scanf [see scanf(3)]. The effect of these routines is as though wgetstr were called on the window, and t

manpages/dracut-initqueue.service.8.html
dracut-initqueue.service(8) runs the dracut main loop to fin
This service runs all the main loop of dracut in the initramfs to find the real root. AUTHORS Harald Hoyer SEE ALSO dracut.bootup(7) dracut(8) dracut-initqueue.

manpages/crontab.1.html
crontab(1) - maintains crontab files for individual users...
Crontab is the program used to install, remove or list the tables used to serve the cron(8) daemon. Each user can have their own crontab, and though these are f

manpages/imclient.3.html
imclient(3) - (unknown subject) (Library - Linux man page)
The imclient library functions are distributed with Cyrus IMAP and IMSP. These functions are used for building IMAP/IMSP client software. These functions handle

manpages/tgetflag.3ncurses.html
tgetflag(3ncurses) - direct curses interface to the terminfo
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the

manpages/gnutls_pkcs11_type_get_name.3.html
gnutls_pkcs11_type_get_name(3) - API function (Man Page)....
This function will return a human readable description of the PKCS11 object type obj. It will return Unknown for unknown types. RETURNS human readable string la

manpages/cerf.3.html
cerf(3) - complex error function (Library - Linux man page)
The (unimplemented) function cerf() is the complex version of the error function. erf(z) = 2/sqrt(pi) * integral from 0 to z of exp(-t*t) dt. The function cerfc

manpages/arecord.1.html
arecord(1) - command-line sound recorder and player for ALSA
arecord is a command-line soundfile recorder for the ALSA soundcard driver. It supports several file formats and multiple soundcards with multiple devices. If r

manpages/recvmmsg.2.html
recvmmsg(2) - receive multiple messages on a socket.........
The recvmmsg() system call is an extension of recvmsg(2) that allows the caller to receive multiple messages from a socket using a single system call. (This has

manpages/break.n.html
break(n) - Abort looping command (Local - Linux man page)...
This command is typically invoked inside the body of a looping command such as for or foreach or while. It returns a 3 (TCL_BREAK) result code, which causes a b

manpages/ld.so.8.html
ld.so(8) - dynamic linker/loader (Admin - Linux man page)...
The programs ld.so and ld-linux.so* find and load the shared libraries needed by a program, prepare the program to run, and then run it. Linux binaries require





We can't live, work or learn in freedom unless the software we use is free.