1XtCreatePopupShell(3) XT FUNCTIONS XtCreatePopupShell(3)
2
3
4
6 XtCreatePopupShell, XtVaCreatePopupShell - create a popup shell
7
9 Widget XtCreatePopupShell(String name, WidgetClass widget_class, Widget
10 parent, ArgList args, Cardinal num_args);
11
12 Widget XtVaCreatePopupShell(String name, WidgetClass widget_class, Wid‐
13 get parent, ...);
14
16 args Specifies the argument list to override the resource
17 defaults.
18
19 name Specifies the text name for the created shell widget.
20
21 num_args Specifies the number of arguments in the argument list.
22
23 parent Specifies the parent widget.
24
25 widget_class
26 Specifies the widget class pointer for the created shell wid‐
27 get.
28
29 ... Specifies the variable argument list to override the resource
30 defaults.
31
33 The XtCreatePopupShell function ensures that the specified class is a
34 subclass of Shell and, rather than using insert_child to attach the
35 widget to the parent's children list, attaches the shell to the par‐
36 ent's pop-ups list directly.
37
38 A spring-loaded pop-up invoked from a translation table already must
39 exist at the time that the translation is invoked, so the translation
40 manager can find the shell by name. Pop-ups invoked in other ways can
41 be created ``on-the-fly'' when the pop-up actually is needed. This
42 delayed creation of the shell is particularly useful when you pop up an
43 unspecified number of pop-ups. You can look to see if an appropriate
44 unused shell (that is, not currently popped up) exists and create a new
45 shell if needed.
46
48 XtCreateWidget(3), XtPopdown(3), XtPopup(3)
49 X Toolkit Intrinsics - C Language Interface
50 Xlib - C Language X Interface
51
52
53
54X Version 11 libXt 1.1.5 XtCreatePopupShell(3)