On Thu, 10 May 2001, Christian Robottom Reis wrote:
> On Thu, 10 May 2001, Tim Goetze wrote:
>
> > >There isn't any good answer to this problem for the stable branch of
> > >pygtk. You could try connecting bound methods of myEntry() to the signal,
> > >so they can access the original instance via self.
>
> Something in the line of
>
> class Foo(gtk.GtkEntry):
> def hello(self):
> print "Hi."
except it should probably be "def hello(self, entry):" to account for the
argument passed to the signal handler.
>
> f=Foo()
> f.connect("changed",f.hello)
James.
--
Email: [EMAIL PROTECTED]
WWW: http://www.daa.com.au/~james/
_______________________________________________
pygtk mailing list [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk