The default main program generated by BX

/* Begin user code block */
/* End user code block */

/**
* README: Portions of this file are merged at file generation
* time. Edits can be made *only* in between specified code blocks, look
* for keywords and .
*/
/*
* Generated by the ICS Builder Xcessory (BX).
*
* BuilderXcessory PRO Version 6.1.3
* Code Generator Xcessory 6.1.3 (10/08/04) CGX Scripts 6.1 Motif 2.1
*
*/

/* Begin user code block */
/* End user code block */

/*
* Motif required Headers
*/
#include
#include
#include
#include
#include

/**
* Globally included information.
*/

/*
* Headers for classes used in this program
*/

/**
* Common constant and pixmap declarations.
*/
#include "creation-c.h"

/**
* Convenience functions from utilities file.
*/
extern void RegisterBxConverters(XtAppContext);
extern XtPointer BX_CONVERT(Widget, char *, char *, int, Boolean *);
extern XtPointer BX_DOUBLE(double);
extern XtPointer BX_SINGLE(float);
extern void BX_MENU_POST(Widget, XtPointer, XEvent *, Boolean *);
extern Pixmap XPM_PIXMAP(Widget, char **);
extern void BX_SET_BACKGROUND_COLOR(Widget, ArgList, Cardinal *, Pixel);

/* Begin user code block */
/* End user code block */

/**
* Change this line via the Output Application Names Dialog.
*/
#define BX_APP_CLASS "BuilderProduct"

int main( int argc, char **argv)
{
Widget parent;
XtAppContext app;
Arg args[256];
Cardinal ac;
Boolean argok=False;
Widget topLevelShell1;
Widget form1;

/* Begin user code block */
/* End user code block */

/*
* Initialize Xt.
*/

XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL);

/*
* The applicationShell is created as an unrealized
* parent for multiple topLevelShells. The topLevelShells
* are created as popup children of the applicationShell.
* This is a recommendation of Paul Asente & Ralph Swick in
* _X_Window_System_Toolkit_ p. 677.
*/

parent = XtVaOpenApplication ( &app,
BX_APP_CLASS,
NULL,
0,
&argc,
argv,
NULL,
sessionShellWidgetClass,
NULL );

RegisterBxConverters(app);
XmRepTypeInstallTearOffModelConverter();

/* Begin user code block */
/* End user code block */

/*
* Create classes and widgets used in this program.
*/

/* Begin user code block */
/* End user code block */

ac = 0;
XtSetArg(args[ac], XmNx, 1161); ac++;
XtSetArg(args[ac], XmNy, 361); ac++;
XtSetArg(args[ac], XmNwidth, 416); ac++;
XtSetArg(args[ac], XmNheight, 283); ac++;
topLevelShell1 = XtCreatePopupShell((char *)"topLevelShell1",
topLevelShellWidgetClass,
parent,
args,
ac);
form1 = (Widget)Createform1(topLevelShell1);
XtManageChild(form1);
XtPopup(XtParent(form1), XtGrabNone);

/* Begin user code block */
/* End user code block */

/* Begin user code block */
/* End user code block */

XtAppMainLoop(app);

/*
* A return value regardless of whether or not the main loop ends.
*/
return(0);
}