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

NAME

6       XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell
7

SYNTAX

9       #include <X11/Intrinsic.h>
10
11       Widget XtCreatePopupShell(const char *name, WidgetClass widget_class,
12              Widget parent, ArgList args, Cardinal num_args);
13
14       Widget XtVaCreatePopupShell(const char *name, WidgetClass widget_class,
15              Widget parent, ...);
16

ARGUMENTS

18       args      Specifies the argument list to override the resource de‐
19                 faults.
20
21       name      Specifies the text name for the created shell widget.
22
23       num_args  Specifies the number of arguments in the argument list.
24
25       parent    Specifies the parent widget.
26
27       widget_class
28                 Specifies the widget class pointer for the created shell wid‐
29                 get.
30
31       ...       Specifies the variable argument list to override the resource
32                 defaults.
33

DESCRIPTION

35       The XtCreatePopupShell function ensures that the specified class is a
36       subclass of Shell and, rather than using insert_child to attach the
37       widget to the parent's children list, attaches the shell to the par‐
38       ent's pop-ups list directly.
39
40       A spring-loaded pop-up invoked from a translation table already must
41       exist at the time that the translation is invoked, so the translation
42       manager can find the shell by name.  Pop-ups invoked in other ways can
43       be created “on-the-fly” when the pop-up actually is needed.  This de‐
44       layed creation of the shell is particularly useful when you pop up an
45       unspecified number of pop-ups.  You can look to see if an appropriate
46       unused shell (that is, not currently popped up) exists and create a new
47       shell if needed.
48

SEE ALSO

50       XtCreateWidget(3), XtPopdown(3), XtPopup(3)
51       X Toolkit Intrinsics - C Language Interface
52       Xlib - C Language X Interface
53
54
55
56X Version 11                      libXt 1.2.1            XtCreatePopupShell(3)
Impressum