Op 27-12-11 22:03, Milad khajavi schreef:
Hi Mohsen,

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

Any idea?
Maybe it hasn't a docstring? Have a look at the reference manual for documentation: http://developer.gnome.org/pygtk/stable/

Cheers,
Timo

PS: I didn't even know about the get() method, never seen it before.



On Wednesday, December 28, 2011, Mohsen Dj <moshen...@gmail.com <mailto:moshen...@gmail.com>> wrote:
> hi
> using :
> print gtk.Label.get.__doc__
>
> On 12/27/11, Milad khajavi <khaj...@gmail.com <mailto:khaj...@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.



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

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

Reply via email to