I can get this to kind of work, but there are some exceptions thrown. I basically added the inspection mixin as described here to dabo\ui\uiwx\uiApp.
I can then invoke the inspection tool with ctrl-alt-i. However during its use I get exceptions like the following and it doesn't quit work correctly, i.e. list is getting reset, it doesn't open on the widget one invoked it. Any chance that this can get fixed as I think this wxPython tool is really very useful. Werner Traceback (most recent call last): File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\mixins\inspection.py", line 61, in _OnKeyPress self.ShowInspectionTool() File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\mixins\inspection.py", line 73, in ShowInspectionTool InspectionTool().Show(wnd) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 96, in Show self._frame.SetObj(selectObj) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 270, in SetObj self.UpdateInfo() File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 263, in UpdateInfo self.info.Update(self.obj) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 590, in Update st += self.FmtWidget(obj) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 626, in FmtWidget rcount = _countChildren(obj.GetChildren()) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 616, in _countChildren count += _countChildren(child.GetChildren()) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 614, in _countChildren if not child.IsTopLevel(): File "C:\dev\dabo\dabo\ui\uiwx\dToolBar.py", line 470, in __getattr__ raise AttributeError AttributeError and this one: Traceback (most recent call last): File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 337, in OnHighlightItem self.HighlightCurrentItem() File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 284, in HighlightCurrentItem self.highlighter.HighlightCurrentItem(self.tree) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\lib\inspection.py", line 795, in HighlightCurrentItem obj = tree.GetItemPyData(item) File "C:\Python26\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line 5315, in GetItemPyData return _controls_.TreeCtrl_GetItemPyData(*args, **kwargs) wx._core.PyAssertionError: C++ assertion "param" failed at ..\..\src\msw\treectrl.cpp(1083) in wxTreeCtrl::SetItemData(): failed to change tree items data _______________________________________________ Post Messages to: Dabo-users@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/4d4ada4d.1010...@free.fr