Re: [Tutor] Button Signals

2006-05-07 Thread John CORRY
Liam,   Thanks for the prompt reply.  That is working for me.   Regards,   John,   -Original Message- From: Liam Clarke [mailto:[EMAIL PROTECTED] Sent: 07 May 2006 13:06 To: [EMAIL PROTECTED] Cc: tutor@python.org Subject: Re: [Tutor] Button Signals   Hi John, I&#x

Re: [Tutor] Button Signals

2006-05-07 Thread Liam Clarke
Hi John, I'll answer your questions, but first: Pythoncard is for wxPython. wxPython is vastly different to PyGTK afaik.The docs you quote answer your question: The return value from a connect () call is an integer tag that identifies your callback. As stated above, you may have as many callbacks p

[Tutor] Button Signals

2006-05-07 Thread John CORRY
Hi,   I am having difficulty with using signal handlers.  I am using Glade 2 and Pygtk.  My editor is Pythoncard.  The following code connects to button one and calls a function which hides button one.     self.wTree = gtk.glade.XML ("phonelog.glade", "window1")     dic={"on_window