xref: /386bsd/usr/X386/man/man3/XtAppCreateShell.3x (revision a2142627)
.\\$1D \\$2 \\$1
.if \\n(VS>=40 .vs \\n(VSu
.if \\n(VS<=39 .vs \\n(VSp
..

0 .nr BD 0

..

.KS .TA .5i 3i

..
.KE

.. .. .KS

.D

choose appropriate monospace font
the imagen conditional, 480,
may be changed to L if LB is too
heavy for your eyes...

.. .R .. .. .. .TB

\\*(NO .R .. . \" Note End -- doug kraft 3/85

0 .. .ny0

XtAppCreateShell 3Xt "Release 3" "X Version 11" "XT FUNCTIONS"
NAME
XtAppCreateShell - create top-level widget instance
SYNTAX
Widget XtAppCreateShell(application_name, \ application_class, widget_class, display,

args, num_args)

String application_name;

String application_class;

WidgetClass widget_class;

Display *display;

ArgList args;

Cardinal num_args;

ARGUMENTS
application_class 1i
Specifies the class name of this application\*(Ac.
application_name 1i
Specifies the name of the application instance.
args 1i
Specifies the argument list in which to set in the \s-1WM_COMMAND\s+1 property.
display 1i
Specifies the display\*(Di.
num_args 1i
Specifies the number of arguments in the argument list.
widget_class 1i
Specifies the widget class\*(Wc.
DESCRIPTION
The .ZN XtAppCreateShell function saves the specified application name and application class for qualifying all widget resource specifiers. The application name and application class are used as the left-most components in all widget resource names for this application. .ZN XtAppCreateShell should be used to create a new logical application within a program or to create a shell on another display. In the first case, it allows the specification of a new root in the resource hierarchy. In the second case, it uses the resource database associated with the other display.

Note that the widget returned by .ZN XtAppCreateShell has the \s-1WM_COMMAND\s+1 property set for session managers (see Chapter 4).

"SEE ALSO"
XtCreateWidget(3Xt)

\*(xT

\*(xL