[pygtk] How to get help of PyGTK methods?

Milad khajavi khajavi at gmail.com
Wed Dec 28 05:03:20 WST 2011


Hi Mohsen,

It doesn't work for me:
>>> print gtk.Label.get.__doc__
None

Any idea?

On Wednesday, December 28, 2011, Mohsen Dj <moshen212 at gmail.com> wrote:
> 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.
>>
>

-- 
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.daa.com.au/pipermail/pygtk/attachments/20111228/cf6e7961/attachment.html>


More information about the pygtk mailing list