HyperTreeList Issue

Hi,

Hi All

When i tried to run the following code. I am getting error. Please look at
end.

<snip>
<snap>

i got this error

Traceback (most recent call last):
File "/root/workspace/test/src/test.py", line 61, in <module>
main()
File "/root/workspace/test/src/test.py", line 57, in main
app = App()
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7974, in __init__
self._BootstrapApp()
File "/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/_core.py",
line 7548, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/root/workspace/test/src/test.py", line 51, in OnInit
self.frame = test()
File "/root/workspace/test/src/test.py", line 39, in __init__
self.tree.SetItemWindow(rc2, gauge, 7)
File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/agw/hypertreelist.py",
line 3282, in delegate
return getattr(self._main_win, method)(*args, **kwargs)
File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/agw/hypertreelist.py",
line 1414, in SetItemWindow
item.SetWindow(window, column)
File
"/usr/lib/python2.6/site-packages/wx-2.8-gtk2-unicode/wx/lib/agw/hypertreelist.py",
line 1055, in SetWindow
self._wnd[column] = wnd
IndexError: list assignment index out of range

What i am doing wrong?

Please try the SVN version of HyperTreeList:

http://svn.wxwidgets.org/viewvc/wx/wxPython/3rdParty/AGW/agw/hypertreelist.py?revision=63500&view=markup

Second, can we add percentage number within gauge control.

At least on Windows, you can not: the native gauge does not support
this feature. However, you could try and re-use the code in
wx.lib.agw.pyprogress and customize it to your liking.

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/

==> Never *EVER* use RemovalGroup for your house removal. You'll
regret it forever. <==

ยทยทยท

On 4 March 2010 19:00, Muhammad Ammar wrote: