|
NAMEXmtBuildToplevel(), XmtBuildQueryToplevel() - create a TopLevelShell widget and all of its descendants.SYNOPSIS#include <Xmt/Create.h>
Widget XmtBuildToplevel(Widget parent, String name) Widget XmtBuildQueryToplevel(Widget parent,
String name,
ARGUMENTSINPUTS
OUTPUTS
RETURNS The newly created TopLevelShell widget. DESCRIPTIONXmtBuildToplevel() and XmtBuildQueryToplevel() call XtCreatePopupShell() to create a TopLevelShell with the specified parent and name. Then they read the xmtChildren resource of the newly created shell and recursively create all the descendants of the shell, in the same way that XmtCreateChildren() and XmtCreateQueryChildren() do.Like XmtCreateQueryChildren(), XmtBuildQueryToplevel() can return some of the widgets it creates. If any of the created widgets has a name that appears as a child_name argument, then that widget is returned in the corresponding child_address argument in the variable-length argument list. USAGEThe TopLevelShell widget is useful for ``auxiliary'' windows of your application. These windows are unlike dialog boxes in that they can be iconified independently of the application itself. Note that unlike Motif dialogs implemented with the XmDialogShell widget, TopLevelShell widgets must be popped up and down with XtPopup() and XtPopdown().Use XmtBuildDialog() to create dialog boxes in a similar way. SEE ALSOChapter 11, Automatic Widget Creation,XmtBuildApplication(), XmtBuildDialog(), XmtCreateChildren(), XmtCreateQueryChildren(), XtCreatePopupShell(), XtPopdown(), XtPopup().
Visit the GSP FreeBSD Man Page Interface. |