1XtAppCreateShell(3) XT FUNCTIONS XtAppCreateShell(3)
2
3
4
6 XtAppCreateShell, XtVaAppCreateShell - create top-level widget instance
7
9 #include <X11/Intrinsic.h>
10
11 Widget XtAppCreateShell(const char *application_name, const char
12 *application_class, WidgetClass widget_class, Display *display,
13 ArgList args, Cardinal num_args);
14
15 Widget XtVaAppCreateShell(const char * application_name, const char *
16 application_class, WidgetClass widget_class, Display *display,
17 ...);
18
20 application_name
21 Specifies the name of the application instance.
22
23 application_class
24 Specifies the class name of this application, which usually
25 is the generic name for all instances of this application.
26
27 widget_class
28 Specifies the widget class that the application top-level
29 widget should be.
30
31 display Specifies the display from which to get the resources.
32
33 args Specifies the argument list from which to get the resources.
34
35 num_args Specifies the number of arguments in the argument list.
36
37 ... Specifies the variable argument list from which to get the
38 resources.
39
41 The XtAppCreateShell function saves the specified application name and
42 application class for qualifying all widget resource specifiers. The
43 application name and application class are used as the left-most compo‐
44 nents in all widget resource names for this application. XtAppCreate‐
45 Shell should be used to create a new logical application within a pro‐
46 gram or to create a shell on another display. In the first case, it
47 allows the specification of a new root in the resource hierarchy. In
48 the second case, it uses the resource database associated with the
49 other display.
50
51 Note that the widget returned by XtAppCreateShell has the WM_COMMAND
52 property set for session managers (see Chapter 4).
53
55 XtCreateWidget(3)
56 X Toolkit Intrinsics - C Language Interface
57 Xlib - C Language X Interface
58
59
60
61X Version 11 libXt 1.1.5.1 XtAppCreateShell(3)