Re: [pygtk] TreeView Sort Performance

2005-05-03 Thread Johan
Jon Ellis wrote: I am having a problem when inserting a large amount of data into a tree with a sorted column. It seems that when the data is inserted in random order, the inserts get exponentially slower. I suspect this is because the entire tree is getting resorted upon every insert. We'll t

[pygtk] TreeView Sort Performance

2005-05-03 Thread Jon Ellis
I am having a problem when inserting a large amount of data into a tree with a sorted column. It seems that when the data is inserted in random order, the inserts get exponentially slower. I suspect this is because the entire tree is getting resorted upon every insert. However, if the data is

RIF: [pygtk] How can I give real threading effect?

2005-05-03 Thread Gatti Lorenzo
What seems wrong is the omitted play() function. It seems you are simply playing the audio file from beginning to end, without control; moving this long call from the "play" event handler to a detached thread is completely correct, but to stop and resume playback you need a significantly more co

[pygtk] How can I give real threading effect?

2005-05-03 Thread Mahmad Sadique Hannure
I working with Audio, So I am developed a dialog box and given 3(play, stop, pause) buttons when i press play button it will play an mp3 file, but other button are not worked till mp3 song will not complete. So I used threading.Thread module in such way class MyPlay(thearding.Thread): def