Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!samsung!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines From: dbeck@flopn2.csc.ti.COM (Dave Beck) Newsgroups: comp.windows.x Subject: unexpected XtIsWidget behavior Message-ID: <9103081459.AA09602@tilde> Date: 8 Mar 91 14:59:51 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 16 ALERT! XtIsWidget does not seem to recognize Motif gadgets as widgets! Despite the fact that gadgets use the same type structure (their creation routines return Widget) this check fails. It must look for the window gadgets don't create or something. Why is this? We were using XtIsWidget to check creation of every widget we create for general debugging purposes. Does Motif know about this? I can't find an XmIsGadget; is there an undocumented function that provides this somewhere? X11R4, Motif 1.1, Sun Sparc 1+ Dave Beck dbeck@flopn2 Texas Instruments Software Systems and Applications Lab Dallas