XT FUNCTIONS XtCreatePopupShell(3xt)
NAME
XtCreatePopupShell, XtVaCreatePopupShell - create a popup
shell SYNTAXcc [ flag... ] file... -lXt [ library... ]
Widget XtCreatePopupShell(String name, WidgetClass
widget_class, Widget parent, ArgList args, Cardinal
num_args);
Widget XtVaCreatePopupShell(String name, WidgetClasswidget_class, Widget parent, ...);
ARGUMENTS args Specifies the argument list to override the resource defaults.name Specifies the text name for the created shell wid-
get.num_args Specifies the number of arguments in the argument
list. parent Specifies the parent widget.widget_class
Specifies the widget class pointer for the created shell widget. ... Specifies the variable argument list to override the resource defaults.DESCRIPTION
The XtCreatePopupShell function ensures that the specified
class is a subclass of Shell and, rather than usinginsert_child to attach the widget to the parent's children
list, attaches the shell to the parent's pop-ups list
directly.A spring-loaded pop-up invoked from a translation table
already must exist at the time that the translation is invoked, so the translation manager can find the shell byname. Pop-ups invoked in other ways can be created ``on-
the-fly'' when the pop-up actually is needed. This delayed
creation of the shell is particularly useful when you pop upan unspecified number of pop-ups. You can look to see if an
appropriate unused shell (that is, not currently popped up) exists and create a new shell if needed.SEE ALSO
XtCreateWidget(3Xt), XtPopdown(3Xt), XtPopup(3Xt) X Version 11 Last change: libXt 1.0.8 1XT FUNCTIONS XtCreatePopupShell(3xt)
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:__________________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|___________________________________|
| Availability | x11/library/toolkit/libxt ||_____________________________|___________________________________|
| Interface Stability | Committed ||_____________________________|___________________________________|
| MT-Level | See XtToolkitThreadInitialize(3XT)|
|_____________________________|___________________________________|
X Version 11 Last change: libXt 1.0.8 2