|
NAMEXmtBuildApplication(), XmtBuildQueryApplication() - create a root ApplicationShell widget and all of its descendants.SYNOPSIS#include <Xmt/Create.h>
Widget XmtBuildApplication(String appname, String appclass, Display *display, ArgList args, Cardinal num_args) Widget XmtBuildQueryApplication(String
appname, String appclass, Display
*display, ArgList args, Cardinal
num_args,
ARGUMENTSINPUTS
The address at which the widget specified by
child_name is to be stored. May be repeated any number of times in a
NULL-terminated variable length argument list.
RETURNS
The newly created root ApplicationShell widget. DESCRIPTIONXmtBuildApplication() and XmtBuildQueryApplication() create a root ApplicationShell widget by calling XtAppCreateShell(), with their appname, appclass, display, args and num_args arguments. 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(), XmtBuildQueryApplication() can return pointers to some of the widgets it creates.USAGEMost applications will only have a single root Application Shell widget, created by their call to XtAppInitialize() or XmtInitialize(). Applications that do create additional root widgets may use these functions to create those shells and their descendants.Use XmtBuildToplevel() and XmtBuildDialog() to create Top LevelShell widgets and dialog boxes in a similar way. SEE ALSOChapter 11, Automatic Widget Creation,XmtBuildDialog(), XmtBuildToplevel(), XmtCreateChildren(), XmtCreateQueryChildren(), XmtInitialize(), XtAppCreateShell(), XtAppInitialize().
Visit the GSP FreeBSD Man Page Interface. |