[PyKDE] Tab problems

Bart Verwilst verwilst at gentoo.org
Sun Jul 21 13:46:01 BST 2002


Hi!

I managed to make a function that adds a tab when i click a button.
But now, i would like to be able to remove the tab, but i just can't do it..

i have a function that includes this:

bleh = self.win.SearchTab.tabBar().currentTab()
self.win.SearchTab.tabBar().removeTab(self.win.SearchTab.tabBar().tab(bleh))

But that segfaults my app when i call it.

Please help me out with this one..
PS Since i don't seem to be able to register on the list, please CC your 
replies to me... 

Thanks in advance!
-- 
Bart Verwilst
Gentoo Linux Developer, Release Coordinator
Gent, Belgium




More information about the PyQt mailing list