fixed imports etc.
see attachment.
still there is a traceback, but i'm not sure how to fix it, because i do not know a lot about the internals
Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/tkinter/init.py", line 1405, in call return self.func(*args) File "theming.py", line 750, in _change_theme self._change_preview(treeview, invalid=True) File "theming.py", line 562, in _change_preview self._remove_previous_widgets() File "theming.py", line 573, in _remove_previous_widgets widgets = self._configframe.pack_slaves() + self._mapframe.pack_slaves() TypeError: unsupported operand type(s) for +: 'map' and 'map'
- theming.py 37.99KB
Comment #1
Posted on Dec 16, 2008 by Quick HorseThe easiest way to fix that is to change:
widgets = self._configframe.pack_slaves() + self._mapframe.pack_slaves()
to:
widgets = list(self._configframe.pack_slaves()) + list(self._mapframe.pack_slaves())
Thanks for the updates.
Comment #2
Posted on Dec 23, 2008 by Quick Horse(No comment was entered for this change.)
Comment #3
Posted on Feb 18, 2009 by Quick HorseHave you worked more on this ?
Status: Accepted
Labels:
Type-Enhancement
Priority-Medium