Newsgroups: comp.windows.x Path: utzoo!utgpu!cunews!bnrgate!bwdls61.bnr.ca!bwdls49!jsparkes From: jsparkes@bwdls49.bnr.ca (Jeff Sparkes) Subject: something better than XtCallActionProc? Message-ID: Sender: usenet@bwdls61.bnr.ca (Use Net) Organization: Bell-Northern Research, Ottawa, Canada Date: 23 Nov 90 20:59:04 GMT For x3270, I have added a bunch of buttons below the main window. The number is specfied via a resource, and the the action is given as a sort of translation table entry: x3270.buttons: 1 x3270.button1.label: PF1 x3270.button1.action: key-PF1() The problem is that I have to parse the action resource myself to pick apart the arguments for XtCallActionProc. I can't use accelerators since the invoking action is a always the same. I seem to recall someone dealing with problem before, and maybe even posting a solution. Anyone recall? -- Jeff Sparkes jsparkes@bnr.ca Bell-Northern Research, Ottawa (613)765-2503 Another feature is that the seats float, so that the airline can recover them if the plane crashes into the ocean. -- Dave Barry BOB drives a TuRBO!