ViolaWWW_920515/ 2755 74507 1 0 5217654723 12305 5ustar mycroftstaffViolaWWW_920515/apps/ 2755 74507 1 0 5217654642 13250 5ustar mycroftstaffViolaWWW_920515/apps/res.dialogWithButtons.v 644 74507 1 3773 5203232240 17726 0ustar mycroftstaff\class {vpane} \name {res.dialogWithButtons} \parent {} \width {400} \height {100} \script { switch (arg[0]) { case "init": break; case "show": windowName("Please respond to this dialog box."); res.dialogWithButtons.mesg("show", arg[1]); for (argi = 2; argi < arg[]; argi = argi + 2) { res.dialogWithButtons.buttons("adopt", arg[argi], arg[argi + 1]); } render(); return; break; } usual(); } \children {res.dialogWithButtons.mesg res.dialogWithButtons.buttons} \ \class {txtDisp} \name {res.dialogWithButtons.mesg} \parent {res.dialogWithButtons} \width {400} \height {50} \content {foo} \script { switch (arg[0]) { case "show": set("content", arg[1]); return; break; case "buttonRelease": res.dialogWithButtons.buttons("cinfo"); return; break; } usual(); } \FGColor {lightyellow} \BGColor {grey20} \font {usual_small} \ \class {hpane} \label {foo bar} \name {res.dialogWithButtons.buttons} \parent {res.dialogWithButtons} \width {400} \height {50} \script { switch (arg[0]) { case "show": set("content", arg[1]); return; break; case "config": print("----------------------------------GGG\n"); for (i = 0; i < arg[]; i++) print(arg[i], ", "); print("\n"); break; case "cinfo": objectListSend("children", "info"); break; case "adopt": /* arg[1] =