Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!elroy.jpl.nasa.gov!sdd.hp.com!hplabs!hpcc05!hpsmdca!phil From: phil@hpsmdca.HP.COM (Philip Walden) Newsgroups: comp.windows.x.motif Subject: Troubles with menu bars Message-ID: <173780001@hpsmdca.HP.COM> Date: 3 Apr 91 20:54:47 GMT Organization: HP Product Generation Processes Lines: 20 I have a menu bar cascade button that invokes a somewhat lengthy graphics re-paint. The problem is that the menu bar being "modal" locks out or "redirects" all other window input until the the processing in the button callback is complete. Thus while my graphics is painting, the whole server is useless. What is the best method to circumvent this problem? I tried to use XtRemoveGrab, but I could not find a "widget" to use it on. I could put the repaint in a different (user) callback, but how do I get motif to execute a user-generated callback? -------------------------------------------------------------------------- Philip Walden Hewlett Packard Product Generation Processes Lab Integrated Product Engineering Systems 3155 Porter Drive, M/S 28AQ Palo Alto, CA 94304-1213 (415) 857-3899 FAX (415) 857-7499 --------------------------------------------------------------------------