home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8384 < prev    next >
Encoding:
Internet Message Format  |  1993-01-06  |  1.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!notis.telemax.no!Hellan
  2. From: Hellan@notis.telemax.no (Jon K?re Hellan)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Warning from XtRemoveGrab
  5. Message-ID: <"21613.93.01.06.13:06*.S=Hellan.PRMD=notis.ADMD=TELEMAX.C=NO."@MHS>
  6. Date: 6 Jan 93 06:06:54 GMT
  7. Sender: daemon@ucbvax.BERKELEY.EDU
  8. Distribution: inet
  9. Organization: The Internet
  10. Lines: 30
  11.  
  12. I have a problem when popping down Motif dialogs.
  13.  
  14. From some dialogs, I call time consuming callbacks. Early in the callback,
  15. I pop down the dialog with the following sequence:
  16.  
  17.     XtPopdown(shell_widget);
  18.     XmUpdateDisplay(shell_widget);
  19.  
  20. At the end of the callback, the dialog is destroyed.
  21.  
  22. Sporadically, I get the warning:
  23.  
  24.     Warning: XtRemoveGrab asked to remove a widget not on the list
  25.  
  26. I am not quite sure, but I think there have been core dumps shortly after this.
  27.  
  28. I introduced the popdown to give better feedback to the user. Previously, the
  29. dialog did not disappear until the dialog was destroyed at the end of the
  30. callback.
  31.  
  32. Does anybody have an idea what I am doing wrong?
  33.  
  34. Thanks
  35.  
  36. Jon
  37. --
  38. Jon K Hellan               Internet: hellan@notis.telemax.no
  39. NOTIS A.S.                 X.400:    S=Hellan;P=notis;A=telemax;C=no;
  40. Postboks 1824 - Lade       Tel:      +47 7 921233
  41. N-7002 Trondheim, Norway   Fax:      +47 7 922574
  42.