1XtAppCreateShell(3)              XT FUNCTIONS              XtAppCreateShell(3)
2
3
4

NAME

6       XtAppCreateShell, XtVaAppCreateShell - create top-level widget instance
7

SYNTAX

9       Widget XtAppCreateShell(String application_name, String applica‐
10              tion_class, WidgetClass widget_class, Display *display, ArgList
11              args, Cardinal num_args);
12
13       Widget XtVaAppCreateShell(String application_name, String applica‐
14              tion_class, WidgetClass widget_class, Display *display, ...);
15

ARGUMENTS

17       application_name
18                 Specifies the name of the application instance.
19
20       application_class
21                 Specifies the class name of this application.
22
23       widget_class
24                 Specifies the widget class that the application top-level
25                 widget should be.
26
27       display   Specifies the display from which to get the resources.
28
29       args      Specifies the argument list from which to get the resources.
30
31       num_args  Specifies the number of arguments in the argument list.
32
33       ...       Specifies the variable argument list from which to get the
34                 resources.
35

DESCRIPTION

37       The XtAppCreateShell function saves the specified application name and
38       application class for qualifying all widget resource specifiers.  The
39       application name and application class are used as the left-most compo‐
40       nents in all widget resource names for this application.  XtAppCreate‐
41       Shell should be used to create a new logical application within a pro‐
42       gram or to create a shell on another display.  In the first case, it
43       allows the specification of a new root in the resource hierarchy.  In
44       the second case, it uses the resource database associated with the
45       other display.
46
47       Note that the widget returned by XtAppCreateShell has the WM_COMMAND
48       property set for session managers (see Chapter 4).
49

SEE ALSO

51       XtCreateWidget(3Xt)
52       X Toolkit Intrinsics - C Language Interface
53       Xlib - C Language X Interface
54
55
56
57X Version 11                      libXt 1.0.7              XtAppCreateShell(3)
Impressum