Re: [pygtk] How to add 'clicked' event to treeview cell?

2009-10-17 Thread John Finlay
Taras wrote: > Hello, all! > > > There is a table with some rows. For example, it has 3 columns. > The first one is icon column 'Add/Remove to favorites' with star icon. > I read about pixbuf renderer but I can't find how can I connect > 'clicked' event to this column :( I also research how it mad

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread John Finlay
Pietro Battiston wrote: > Il giorno sab, 17/10/2009 alle 20.49 +0300, Paul Pogonyshev ha scritto: > >> Pietro Battiston wrote: >> >>> Il giorno sab, 17/10/2009 alle 17.30 +0100, Tomeu Vizoso ha scritto: >>> On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann wrote:

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Paul Pogonyshev
Pietro Battiston wrote: > What I mean is: where is it written that every crash is a bug, if Pygtk > developers themselves are not so clear on that (and I'm possibly too > ignorant)? I am a PyGTK developer (not active currently), Matthias Classen is not. He is a developer of GTK+ itself. I think

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Pietro Battiston
Il giorno sab, 17/10/2009 alle 20.49 +0300, Paul Pogonyshev ha scritto: > Pietro Battiston wrote: > > Il giorno sab, 17/10/2009 alle 17.30 +0100, Tomeu Vizoso ha scritto: > > > On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann > > > wrote: > > > > > > > > Well -- you are not initializing gtk.I

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Paul Pogonyshev
Pietro Battiston wrote: > Il giorno sab, 17/10/2009 alle 17.30 +0100, Tomeu Vizoso ha scritto: > > On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann > > wrote: > > > > > > Well -- you are not initializing gtk.Image. So it's your very own > > > mistake. I don't see a pygtk issue here. > > > >

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Pietro Battiston
Il giorno sab, 17/10/2009 alle 17.30 +0100, Tomeu Vizoso ha scritto: > On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann wrote: > > > > Well -- you are not initializing gtk.Image. So it's your very own > > mistake. I don't see a pygtk issue here. > > This is Python, any crash is a bug. Wait,

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Tomeu Vizoso
On Sat, Oct 17, 2009 at 17:12, René 'Necoro' Neumann wrote: > > Well -- you are not initializing gtk.Image. So it's your very own > mistake. I don't see a pygtk issue here. This is Python, any crash is a bug. Regards, Tomeu ___ pygtk mailing list py

Re: [pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread René 'Necoro' Neumann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Well -- you are not initializing gtk.Image. So it's your very own mistake. I don't see a pygtk issue here. -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrZ

[pygtk] pyGtk segfault comparing gtk.Image with 0

2009-10-17 Thread Ralph Sleigh
Hey The following code is getting me a segfault (found by mistake on my part, meant to compare with another attribute): #!/usr/bin/env python # -*- coding: utf-8 -*- import pygtk pygtk.require('2.0') import gtk class myImage(gtk.Image): def __init__(self): return image = myImage() i

[pygtk] How to add 'clicked' event to treeview cell?

2009-10-17 Thread Taras
Hello, all! There is a table with some rows. For example, it has 3 columns. The first one is icon column 'Add/Remove to favorites' with star icon. I read about pixbuf renderer but I can't find how can I connect 'clicked' event to this column :( I also research how it made in Exaile (music player