I'm sorry, I thought he was referring to the signal_autoconnect method in gtk.glade.XML

Nikos Kouremenos wrote:

Ryan, that is not autoconnect(self) which I think Chris means

On 10/11/05, Ryan Rousseau <[EMAIL PROTECTED]> wrote:
"""
I read in the FAQs that you can pass xtra args when doing signal
connects manually (through the 3rd arg of .connect)  Is there a way to
do the same but with the signal autoconnect method when you're using a
glade file?  Thanks for any info
"""

When you make your callback dictionary you can specify extra arguments.

callbacks = {

              'on_my_button_clicked':

              my_button_clicked, # no extra args

              'on_my_other_button_clicked':

              (my_other_button_clicked, arg1, arg2), # 2 extra args

           }


Ryan R

_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/




--
Nikos Kouremenos | Jabber ID: [EMAIL PROTECTED] | http://members.hellug.gr/nkour
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to