XtCreatePopupShell(3Xt) XtCreatePopupShell(3Xt)
NAME
XtCreatePopupShell - creates a pop-up shell
SYNOPSIS
Widget XtCreatePopupShell(name, widget-class, parent, args,
num-args)
String name;
WidgetClass widget-class;
Widget parent;
ArgList args;
Cardinal num-args;
DESCRIPTION
The XtCreatePopupShell function ensures that the specified
class is a subclass of Shell and, rather than using the
insert_child procedure to attach the widget to the parent's
children list, attaches the shell to the parent's pop-up
list directly.
A spring-loaded pop-up shell invoked from a translation
table already must exist at the time that the translation is
invoked, so the translation manager can find the shell by
name. Popup shells invoked in other ways can be created
``on-the-fly'' when the pop-up shell actually is needed.
This delayed creation of the shell is particularly useful
when you pop up an unspecified number of pop-up shells. You
can look to see if an appropriate unused shell (that is, not
currently popped up) exists and create a new shell if need-
ed.
Arguments
This function accepts the following arguments:
args Specifies the argument list to override the resource
defaults.
name Specifies the text name for the created shell widg-
et.
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.
SEE ALSO
XtCreateWidget(3Xt), XtPopdown(3Xt), XtPopup(3Xt)
X Toolkit Intrinsics - C Language Interface
November, 1990 1
Xlib - C Language Interface
2 November, 1990