3

Where can I find proper documentation on the Python objects Gtk, Gdk,... from gi.repository ? I'm stuck with using dir() and it's of the utmost annoyance...

To sum it up: heelp!

(NOTE: the pygtk doc is too outdated, I'm using pygobject)

MP0
  • 1,033
  • 2
  • 10
  • 17

2 Answers2

2

I haven't found online documentation but you can use the help command from python interactive prompt, like:

>>> import gi
>>> help(gi)

Help on package gi:

NAME
    gi

FILE
    /usr/lib/pymodules/python2.6/gtk-2.0/gi/__init__.py

DESCRIPTION
...
kriss
  • 23,497
  • 17
  • 97
  • 116
0

The GTK/GDK documentation can be found here: http://www.pygtk.org/docs/pygtk/