Getting Bad Drawable - motif beginner

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Getting Bad Drawable - motif beginner

Submitted by Anonymous on Mon, 03/22/2004 - 11:29.

I'm debugging code written by an expert. I'm running on a Sun workstation, using Linux as my OS, code written in Ada. I get the following error message:

X error of failed request: BadDrawable (invalid Pixmap or Window parameter)

Major opcode of failed request: 55 (X_CreateGC)

Are there typical problems that cause this kind of error?

Fri, 04/30/2004 - 05:55#1

Fri, 04/30/2004 - 05:55#1

Anonymous

Getting Bad Drawable - motif beginner

This message means that XCreateGC function (or some function calling XCreateGC(), such as XtAllocateGC(), XmGetScaledPixmap(), XmGetPixmapByDepth(), XmGetPixmap(), XmeGetMask()) got bad drawable ID or Widget or Screen with bad drawable as an parameter.