[pygtk] PyGobject TreeModel selection bug?

Brent S. Elmer Ph.D. webe3vt at aim.com
Tue Jun 4 02:24:16 WST 2013


I have an application I wrote using PyGTK that I recently converted
to use PyGobject introspection.  When I try to do something with
selections in a TreeModel, I get a segmentation fault.  The
corresponding pygtk code works.  I have pared down my program to a
simple test case.  I have included the pygtk version that works and the
PyGobject version that gives a segmentation fault.  To see what I mean,
run the programs and select one or multiple rows then select File->copy
from the menu.  Is this a PyGobject bug or am I doing something wrong?

  
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pygtk_test3.py
Type: text/x-python
Size: 4489 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20130603/bfefb7c6/attachment-0002.py>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gi_test3.py
Type: text/x-python
Size: 4529 bytes
Desc: not available
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20130603/bfefb7c6/attachment-0003.py>


More information about the pygtk mailing list