Op 07/12/2009 13:05, engine spot het geskryf:
>      When I learn the tutoral ,I find this code
>
>      self.window.connect("destroy", self.destroy)
>
>      but when I search pygtk 2.0 reference manual,I can not find the
> api , only what I do is I know or I can guess the meaning of it
>
>      the trtoral is in
> http://www.pygtk.org/pygtk2tutorial/ch-GettingStarted.html#sec-HelloWorld
All widgets inherit from GObject, where connect() comes from.

http://library.gnome.org/devel/pygobject/stable/class-gobject.html#method-gobject--connect
-- 
Walter Leibbrandt                  Software Developer
Recent blogs:
* Ubuntu PPA for Translate Toolkit and Virtaal
http://www.translate.org.za/blogs/walter/en/content/ubuntu-ppa-translate-toolkit-and-virtaal

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

Reply via email to