[pygtk] where is the api for "window.connect"
Walter Leibbrandt
walter at translate.org.za
Mon Dec 7 19:12:32 WST 2009
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
More information about the pygtk
mailing list