XtCreateApplicationShell() XtCreateApplicationShell()
Name
XtCreateApplicationShell - create an additional top-level widget.
Synopsis
Widget XtCreateApplicationShell(application_name, widget_class, args, num_args)
String application_name; /*unused*/
WidgetClass widget_class;
ArgList args;
Cardinal num_args;
Inputs
application_name
This argument is unused.
widget_class
Specifies the widget class for the shell widget to be created.
args Specifies an argument list to override any other resource specifications.
num_args Specifies the number of elements in args.
Returns
A newly created shell widget of class widget_class.
Availability
Superseded by XtAppCreateShell().
Description
XtCreateApplicationShell() creates and returns a shell widget of class widget_class. The created widget has no parent-it is at the root of
a widget tree and at the top of the resource name hierarchy.
XtCreateApplicationShell() creates the widget by calling XtAppCreateShell() passing a NULL application_name, the application_class that was
passed to XtInitialize(), the display that was opened by XtInitialize() and the widget_class, args, and num_args arguments.
Usage
XtCreateApplicationShell() has been superseded by XtAppCreateShell(), which is substantially more flexible. You can continue to use XtCre-
ateApplicationShell() only if you initialize your application with XtInitialize(). We recommend that you use XtAppInitialize(), XtAppCre-
ateShell(), and the other XtApp*() application context specific functions.
See XtAppCreateShell() for more information.
See Also
XtAppCreateShell(1).
Xt - Initialization XtCreateApplicationShell()