[pygtk] how to associate a button press event on gtk.CellRenderer cell
Alessandro Dentella
sandro at e-den.it
Wed Jul 15 01:22:10 WST 2009
On Tue, Jul 14, 2009 at 10:30:06PM +0530, Amit Sethi wrote:
> well i did not know how to define the term , well basically i need
> help/tutorial regarding how to add a signal.
I all what you need is to know how to add a signal *callback*, have a look
at the pygtk tutotial [1]. I you're lookiing at how to add a signal (that i
don't think you really need now) have a lok at how gobject works with
signals [2] (not responing right now).
I'm not sure about your needs, but you may just need to add a callback to the
editable of the cell. You can easily do that in the callback of the
'editing-started' signal of the cell renderer.
sandro
*:-)
[1] http://www.andrew.cmu.edu/user/skey/research_prev/checker/working%20now/gui/pygtk2tutorial/pygtk2tutorial/index.html
[2] http://www.sicem.biz/personal/lgs/docs/gobject-python/gobject-tutorial.html
More information about the pygtk
mailing list