! UIMX ascii 2.0 key: 577 *action.HelpACT: {\ /* char *s;\ s = XmTextGetSelection(UxWidget); \ \ XmTextClearSelection(UxWidget,XtLastTimestampProcessed(UxDisplay));\ */} *action.WriteHelp: {\ char s[100],comm[160] ;\ extern char print_com[];\ Widget sw = UxWidget;\ \ strcpy(s,"");\ /*sprintf(comm,"WRITE/OUT here");\ AppendDialogText(comm);*/\ \ if (sw == UxGetWidget(UxFindSwidget("ColButton"))) {\ strcpy(s,"Select the OST columns to be displayed into the scrolled window");\ UxPutText(UxFindSwidget("SHelp") ,s); \ } \ else if (sw == UxGetWidget(UxFindSwidget("ClassiButton"))) {\ strcpy(s,"Activate interface for defining classification rules ");\ UxPutText(UxFindSwidget("SHelp") ,s); \ } \ else if (sw == UxGetWidget(UxFindSwidget("AssoButton"))) {\ strcpy(s,"Activate interface for classifying images");\ UxPutText(UxFindSwidget("SHelp") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("AssoButton1"))) {\ strcpy(s,"Activate interface for associating calibration exposures to scientific frames");\ UxPutText(UxFindSwidget("SHelp") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("NewsButton3"))) {\ strcpy(s,"Create the OST table");\ UxPutText(UxFindSwidget("SHelp3") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("PrintButton3"))) {\ strcpy(s,"Popdown this interface");\ UxPutText(UxFindSwidget("SHelp3") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("ost_t1"))){ \ strcpy(s,"Name of the Observation Summary Table to be created ");\ UxPutText(UxFindSwidget("SHelp3") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("ost_t2"))){ \ strcpy(s,"List of frames to be processed ");\ UxPutText(UxFindSwidget("SHelp3") ,s); \ } \ else if (sw == UxGetWidget(UxFindSwidget("ost_t3"))){ \ strcpy(s,"Name of the table containing the list of relevant Midas descriptors"); \ UxPutText(UxFindSwidget("SHelp3") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("pushButton4"))){ \ strcpy(s,"Push button to popup the File Selection Box"); \ UxPutText(UxFindSwidget("SHelp3") ,s); \ }\ else if (sw == UxGetWidget(UxFindSwidget("pushButton5"))){ \ strcpy(s,"Push button to popup the File Selection Box"); \ UxPutText(UxFindSwidget("SHelp3") ,s); \ } \ } *action.ClearHelp: {\ UxPutText(UxFindSwidget("SHelp"),"");\ } *action.SelectCommand: {\ \ \ \ } *action.nothing: {\ printf("toto:\n");\ } *translation.table: transTable9 *translation.parent: Associate *translation.policy: replace *translation.: HelpACT() *translation.: grab-focus() *translation.: WriteHelp() *translation.: ClearHelp() *translation.table: transTable10 *translation.parent: Associate *translation.policy: override *translation. : SelectCommand() *translation.table: transTable11 *translation.parent: Associate *translation.policy: override *translation.: nothing() *Associate.class: applicationShell *Associate.parent: NO_PARENT *Associate.static: true *Associate.gbldecl: #include \ #include *Associate.ispecdecl: *Associate.funcdecl: swidget create_Associate()\ *Associate.funcname: create_Associate *Associate.funcdef: "swidget", "(%)" *Associate.icode: *Associate.fcode: return(rtrn);\ *Associate.auxdecl: *Associate.name: Associate *Associate.x: 666 *Associate.y: 397 *Associate.width: 920 *Associate.height: 363 *Associate.iconName: "Association Rules" *mainWindow3.class: mainWindow *mainWindow3.parent: Associate *mainWindow3.static: true *mainWindow3.name: mainWindow3 *mainWindow3.x: 200 *mainWindow3.y: 180 *mainWindow3.width: 700 *mainWindow3.height: 470 *mainWindow3.background: WindowBackground *mainWindow3.unitType: "pixels" *pullDownMenu3.class: rowColumn *pullDownMenu3.parent: mainWindow3 *pullDownMenu3.static: true *pullDownMenu3.name: pullDownMenu3 *pullDownMenu3.borderWidth: 0 *pullDownMenu3.menuHelpWidget: "pullDownMenu_top_b4" *pullDownMenu3.rowColumnType: "menu_bar" *pullDownMenu3.menuAccelerator: "F10" *pullDownMenu3.background: MenuBackground *pullDownMenu3.foreground: MenuForeground *quitPane3.class: rowColumn *quitPane3.parent: pullDownMenu3 *quitPane3.static: true *quitPane3.name: quitPane3 *quitPane3.rowColumnType: "menu_pulldown" *quitPane3.background: MenuBackground *quitPane3.foreground: MenuForeground *quitPane_b4.class: pushButtonGadget *quitPane_b4.parent: quitPane3 *quitPane_b4.static: true *quitPane_b4.name: quitPane_b4 *quitPane_b4.labelString: "Bye" *quitPane_b4.activateCallback: {\ extern swidget asso;\ extern Widget arow1[20],arow2[20],arow3[20],arow4[20];\ extern int rowno;\ int rows,i;\ for (i=0; i<5; i++) {\ XmTextSetString(arow1[i],"");\ XmTextSetString(arow2[i],"");\ XmTextSetString(arow3[i],"");\ XmTextSetString(arow4[i],"");\ }\ for (i=5; iwidget;\ cbs = (XmRowColumnCallbackStruct *)UxCallbackArg;\ printf("%s: %s\n",XtName(pb),cbs->data);*/\ } *rowasso.resizeWidth: "true" *rowasso.isAligned: "true" *label14.class: label *label14.parent: form4 *label14.static: true *label14.name: label14 *label14.x: 10 *label14.y: 420 *label14.width: 100 *label14.height: 40 *label14.background: WindowBackground *label14.fontList: BoldTextFont *label14.labelString: "FUNCTION" *label14.alignment: "alignment_beginning" *label14.topOffset: 70 *label14.topAttachment: "attach_form" *label14.leftAttachment: "attach_form" *label14.leftOffset: 80 *label15.class: label *label15.parent: form4 *label15.static: true *label15.name: label15 *label15.x: 90 *label15.y: 10 *label15.width: 100 *label15.height: 40 *label15.background: WindowBackground *label15.fontList: BoldTextFont *label15.labelString: "RANGE_1" *label15.alignment: "alignment_beginning" *label15.topAttachment: "attach_form" *label15.leftAttachment: "attach_form" *label15.leftOffset: 310 *label15.topOffset: 70 *label16.class: label *label16.parent: form4 *label16.static: true *label16.name: label16 *label16.x: 310 *label16.y: 10 *label16.width: 100 *label16.height: 40 *label16.background: WindowBackground *label16.fontList: BoldTextFont *label16.labelString: "RANGE_2" *label16.alignment: "alignment_beginning" *label16.leftAttachment: "attach_form" *label16.leftOffset: 510 *label16.topAttachment: "attach_form" *label16.topOffset: 70 *label17.class: label *label17.parent: form4 *label17.static: true *label17.name: label17 *label17.x: 510 *label17.y: 10 *label17.width: 100 *label17.height: 40 *label17.background: WindowBackground *label17.fontList: BoldTextFont *label17.labelString: "WEIGHT" *label17.alignment: "alignment_beginning" *label17.leftAttachment: "attach_form" *label17.leftOffset: 720 *label17.topAttachment: "attach_form" *label17.topOffset: 70 *label19.class: label *label19.parent: form4 *label19.static: true *label19.name: label19 *label19.x: 210 *label19.y: 10 *label19.width: 260 *label19.height: 50 *label19.background: WindowBackground *label19.fontList: BoldTextFont *label19.labelString: "Table Name" *label19.leftAttachment: "attach_form" *label19.leftOffset: 100 *label19.topAttachment: "attach_form" *arule_name.class: text *arule_name.parent: form4 *arule_name.static: true *arule_name.name: arule_name *arule_name.x: 480 *arule_name.y: 10 *arule_name.width: 360 *arule_name.height: 50 *arule_name.background: TextBackground *arule_name.fontList: TextFont *arule_name.topAttachment: "attach_form" *arule_name.leftAttachment: "attach_form" *arule_name.leftOffset: 400