Python/Tkinter/tk crash [long]

Eric Brunel eric.brunel at pragmadev.com
Thu Aug 14 11:13:05 EDT 2003


Martin Franklin wrote:
> On Thursday 14 August 2003 10:10 am, Eric Brunel wrote:
> 
>>Hi all,
>>
>>I was creating a Tkinter widget in the style of the reversed tabs below
>>Excel worksheets and I stepped in a serious problem: the code I made makes
>>python crash with a seg fault, bus error or X11 BadGC error on both Solaris
>>(2.6 and 2.7) and Linux (Mandrake 8.0); it doesn't crash on Windows. I
>>tried to simplify the script, but I couldn't reproduce the crash with a
>>simpler code. So the code below is somewhat long; sorry for that.
> 
> 
> 
> Eric,
> 
> Have you looked at Pmw (Python Mega Widgets) they have a NoteBook (tabbed 
> pane) widget that looks like what you want...

I do know and use extensively this package. The behaviour I'd like to implement 
is somewhat different than the one in Pmw.NoteBook. Please also note that 
despite its length, the code I posted is only an extract of the actual code.

Thanks anyway.
-- 
- Eric Brunel <eric.brunel at pragmadev.com> -
PragmaDev : Real Time Software Development Tools - http://www.pragmadev.com





More information about the Python-list mailing list