if (Tfailed) return (0); if (tekWidget) return (1); if (CreateTekWidget()) { return (1);
Widget form_top, menu_top;  if (!Tfailed && tekWidget == 0) {  tekshellwidget = XtCreatePopupShell ( "tektronix", topLevelShellWidgetClass, toplevel, ourTopLevelShellArgs, number_ourTopLevelShellArgs);  SetupMenus(tekshellwidget, &form_top, &menu_top);   tekWidget = (TekWidget) XtVaCreateManagedWidget ( "tek4014", tekWidgetClass, form_top, #if OPT_TOOLBAR XtNmenuBar,	menu_top, XtNresizable,	True, XtNfromVert,	menu_top, XtNleft,	XawChainLeft, XtNright,	XawChainRight, XtNbottom,	XawChainBottom, #endif 0);
int TekInit (void){    if (Tfailed) return (0);    if (tekWidget) return (1);    if (CreateTekWidget()) {	return (1);    }    return (0);}