BadWindow (invalid Window parameter)

BadWindow (invalid Window parameter)

Post by Andy » Fri, 04 Feb 2005 22:46:09


I am facing a problem while running Tk application.

I am using mkWidgets extension to create tabbed view in a frame in root
and later on packing the frame and doing update idletasks. It aborts
with following error,
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 15 (X_QueryTree)
Resource id in failed request: 0x0
Serial number of failed request: 19
Current serial number in output stream: 19

I also noticed this problem while running in xterm; but not when run
thru console on mandrake linux ..

Can someone help me to trace this ??


BadWindow (invalid Window parameter)

Post by Andy » Sat, 05 Feb 2005 11:43:01

I am using mkwidgets tabcontrol in a frame ..

Anyone knows about this error ?? BadWindow ...



BadWindow (invalid Window parameter)

Post by Arjen Mark » Sat, 05 Feb 2005 23:54:23

The problem is a fairly generic one. It might help
if you can post a small(ish) script that reproduces
this problem - I know nothing of mkwidgets, so I
am just giving you some very general advice ;)