XtIsWidget Problem - Motif

This is a discussion on XtIsWidget Problem - Motif ; I have two XmPushbuttons that are created in UIL and used within my app. For
one of them, XtIsWidget returns TRUE but for the other it returns FALSE.
This difference is screwing me up and I am baffeled as to ...

XtIsWidget Problem

I have two XmPushbuttons that are created in UIL and used within my app. For
one of them, XtIsWidget returns TRUE but for the other it returns FALSE.
This difference is screwing me up and I am baffeled as to why they are not
treated the same.

Re: XtIsWidget Problem

Jake Colman wrote in
news:761xqbgzwy.fsf@newjersey.ppllc.com:
> I have two XmPushbuttons that are created in UIL and used within my app.
> For one of them, XtIsWidget returns TRUE but for the other it returns
> FALSE. This difference is screwing me up and I am baffeled as to why
> they are not treated the same.

Are you absolutely sure they are both widgets? What do XtIsObject() and
XtIsGadget() say?

Re: XtIsWidget Problem

>>>>> "KL" == Ken Lee writes:

KL> Jake Colman wrote in
KL> news:761xqbgzwy.fsf@newjersey.ppllc.com:
>> I have two XmPushbuttons that are created in UIL and used within my app.
>> For one of them, XtIsWidget returns TRUE but for the other it returns
>> FALSE. This difference is screwing me up and I am baffeled as to why
>> they are not treated the same.

KL> Are you absolutely sure they are both widgets? What do XtIsObject() and
KL> XtIsGadget() say?

XtIsObject() returns 1 for both widgets.

XtIsGadget() is not defined in my version of Motif. We are using Motif 2.1
under Solaris 7.