Search the web
Sign In
New User? Sign Up
tix · The Tix User Forum
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Please help -- problem with tixTree and Pmw   Message List  
Reply | Forward Message #1013 of 1043 |


I've been building an application using straight Tkinter and Pmw
megawidgets. Recently, I needed a collapsible tree widget, which Pmw
didn't have; so I turned to Tix. Now, here's the problem. My
application uses a Pmw.PanedWidget to separate the window into panes;
the tree needs to be packed into one of the panes. Everything works
fine until I try to activate the "expand/collapse" ability, by using
tree.setmode() or tree.autosetmode(); when I try to do that, I get the
following error:

X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 12 (X_ConfigureWindow)
Serial number of failed request: 457
Current serial number in output stream: 459

If I DON'T use the setmode() functions, the program works fine, but
the tree can't be collapsed/expanded (which is why I wanted it in the
first place).

Also, the error doesn't occur if I pack the tree into a regular
Tkinter.Frame; it only happens when I try to pack it into the Pmw
panes. However, each Pmw pane **IS** a Tkinter.Frame, so I can't
figure out what's wrong!!!

Can anyone help me please?









Mon Jan 3, 2005 5:49 pm

megajarx
Offline Offline
Send Email Send Email

Forward
Message #1013 of 1043 |
Expand Messages Author Sort by Date

I've been building an application using straight Tkinter and Pmw megawidgets. Recently, I needed a collapsible tree widget, which Pmw didn't have; so I turned...
megajarx
Offline Send Email
Jan 3, 2005
6:41 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help