[Tutor] python connect() function

Pierre Barthelemy barthpi at gmail.com
Thu Apr 12 18:42:43 CEST 2012


sorry, gobject comes from the PyGTK package.



On Thu, Apr 12, 2012 at 6:32 PM, Alan Gauld <alan.gauld at btinternet.com>wrote:

> On 12/04/12 16:42, Pierre Barthelemy wrote:
>
>> Thanks for the fast reply. I went a bit deeper into the code and i found
>> where my problem was. The connect function comes from gobject, and the
>> gobject.connect function accepts extra arguments that are passed to the
>> connected function. So i can solve my problem by:
>>
>> data.connect('new_data_point', analysis_client.update_plot,
>> specific_arguments)
>>
>
> Glad you got it working but what is gobject?
>
> It isn't part of the Python standard library that I recognize
> so presumably you are using some kind of add-in Framework
> or library?
>
> Any questions to the list need to specify what you are
> using, if it's not in the standard library we will be
> pretty much in the dark and unlikely to be able to
> help until you tell us.
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
>
>
> ______________________________**_________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/**mailman/listinfo/tutor<http://mail.python.org/mailman/listinfo/tutor>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20120412/283ee5f6/attachment.html>


More information about the Tutor mailing list