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, which usually
22                 is the generic name for all instances of this application.
23
24       widget_class
25                 Specifies the widget class that the application top-level
26                 widget should be.
27
28       display   Specifies the display from which to get the resources.
29
30       args      Specifies the argument list from which to get the resources.
31
32       num_args  Specifies the number of arguments in the argument list.
33
34       ...       Specifies the variable argument list from which to get the
35                 resources.
36

DESCRIPTION

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

SEE ALSO

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