Hi.

after each call of emit method refcount increase. what to do???
simple example in attachment.

import gtk, sys

b = gtk.Button('test')

def p(widget): print 'test'
    
print 'before:', sys.getrefcount(b)

b.connect('clicked', p)
b.emit('clicked')
b.emit('clicked')

print 'after:', sys.getrefcount(b)

Reply via email to