[pygtk] How to get help of PyGTK methods?

Mohsen Dj moshen212 at gmail.com
Wed Dec 28 04:32:21 WST 2011


hi
using :
print gtk.Label.get.__doc__

On 12/27/11, Milad khajavi <khajavi at gmail.com> wrote:
> Hi all,
> in pygtk when I set the label:
> mylabel = gtk.Label("Hello World!")
> I can get the string of label from it by mylabel.get() method. but in
> python interpreter I can get the docstring of this method:
> help(gtk.Label.get)
> Anyone know why?
>
> --
> Milad Khajavi
> http://lincafe.wordpress.com
> Having the source means you can do it yourself.
> I tried to change the world, but I couldn’t find the source code.
>


More information about the pygtk mailing list