home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!ucbvax!notis.telemax.no!Hellan
- From: Hellan@notis.telemax.no (Jon K?re Hellan)
- Newsgroups: comp.windows.x.motif
- Subject: Warning from XtRemoveGrab
- Message-ID: <"21613.93.01.06.13:06*.S=Hellan.PRMD=notis.ADMD=TELEMAX.C=NO."@MHS>
- Date: 6 Jan 93 06:06:54 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: inet
- Organization: The Internet
- Lines: 30
-
- I have a problem when popping down Motif dialogs.
-
- From some dialogs, I call time consuming callbacks. Early in the callback,
- I pop down the dialog with the following sequence:
-
- XtPopdown(shell_widget);
- XmUpdateDisplay(shell_widget);
-
- At the end of the callback, the dialog is destroyed.
-
- Sporadically, I get the warning:
-
- Warning: XtRemoveGrab asked to remove a widget not on the list
-
- I am not quite sure, but I think there have been core dumps shortly after this.
-
- I introduced the popdown to give better feedback to the user. Previously, the
- dialog did not disappear until the dialog was destroyed at the end of the
- callback.
-
- Does anybody have an idea what I am doing wrong?
-
- Thanks
-
- Jon
- --
- Jon K Hellan Internet: hellan@notis.telemax.no
- NOTIS A.S. X.400: S=Hellan;P=notis;A=telemax;C=no;
- Postboks 1824 - Lade Tel: +47 7 921233
- N-7002 Trondheim, Norway Fax: +47 7 922574
-