Re: [pygtk] pygobject documentation ?

2012-01-12 Thread Timo
Op 11-01-12 21:44, Jérôme schreef: Tue, 10 Jan 2012 18:54:07 +0100 Timo a écrit: You will notice a pattern: take the enumeration name, split the Gtk part and rest with a dot, then leave out GTK_*_ part from the types and append them to the previously splitted name. This approach always worked

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Jérôme
Tue, 10 Jan 2012 18:54:07 +0100 Timo a écrit: > You will notice a pattern: take the enumeration name, split the Gtk part > and rest with a dot, then leave out GTK_*_ part from the types and > append them to the previously splitted name. > > This approach always worked for me till now. This see

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Dieter Verfaillie
On Wed, 11 Jan 2012 19:23:22 +0100, Dieter Verfaillie wrote: On Wed, 11 Jan 2012 15:26:05 +0200, Giuseppe Penone wrote: you can download http://www.giuspen.com/cherrytree [3] and have fun, the glade file is edited with GLADE 3.10 and has a minimum requirement of GTK 2.20. no hacking was done,

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Dieter Verfaillie
On Wed, 11 Jan 2012 15:26:05 +0200, Giuseppe Penone wrote: you can download http://www.giuspen.com/cherrytree [3] and have fun, the glade file is edited with GLADE 3.10 and has a minimum requirement of GTK 2.20. no hacking was done, after opening my already existing glade file I clicked file--p

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Giuseppe Penone
you can download http://www.giuspen.com/cherrytree and have fun, the glade file is edited with *glade 3.10* and has a minimum requirement of *gtk 2.20* . no hacking was done, after opening my already existing glade file I clicked file--properties and I did set the requirement to 2.20 since it was t

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Dieter Verfaillie
On Wed, 11 Jan 2012 12:28:12 +0200, Giuseppe Penone wrote: I agree with Pietro, taken that there are rules for retrieving the Python functions from the C functions, so the documentation for Python should be automagically generated from the C documentation. Let me correct Jérôme: it's wrong tha

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Just Fill Bugs
On 01/10/2012 10:42 PM, Jérôme wrote: But it is sometimes hard to just guess the name of python constants from C constants. Like from GTK_WINDOW_POPUP to Gtk.WindowType.POPUP, for instance. Is there any document indicating generic recipes to do the translation, or do I just need to pull my ha

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Jérôme
Tue, 10 Jan 2012 18:54:07 +0100 Timo a écrit: > Constants are actually pretty easy once you understand how they are > mapped to Python. > Have a look at the C docs page for all enumerations: > http://developer.gnome.org/gtk3/stable/gtk3-Standard-Enumerations.html [...] > You will notice a patt

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Jérôme
Wed, 11 Jan 2012 12:28:12 +0200 Giuseppe Penone a écrit: > Let me correct Jérôme: it's wrong that glade 3.10 does not supports gtk2, > actually requires gtk 2.20. I was refereing to http://glade.gnome.org/ "These are bugfix releases for the 3.8 series for GTK+-2 and the 3.10 series for GTK+-3"

Re: [pygtk] pygobject documentation ?

2012-01-11 Thread Giuseppe Penone
I agree with Pietro, taken that there are rules for retrieving the Python functions from the C functions, so the documentation for Python should be automagically generated from the C documentation. Let me correct Jérôme: it's wrong that glade 3.10 does not supports gtk2, actually requires gtk 2.20

Re: [pygtk] pygobject documentation ?

2012-01-10 Thread Pietro Battiston
Il giorno mar, 10/01/2012 alle 18.54 +0100, Timo ha scritto: > Op 10-01-12 15:42, Jérôme schreef: > > Hi all. > > > > I started python and pygtk recently (a few weeks). > > > > For that I used > > > > Python 2.7 documentation > > http://docs.python.org/ > > > > python GTK2.0 tutorial > > http://pyg

Re: [pygtk] pygobject documentation ?

2012-01-10 Thread Timo
Op 10-01-12 15:42, Jérôme schreef: Hi all. I started python and pygtk recently (a few weeks). For that I used Python 2.7 documentation http://docs.python.org/ python GTK2.0 tutorial http://pygtk.org/pygtk2tutorial/index.html Then, I decided to switch to pygobject. Two reasons for that : * T

[pygtk] pygobject documentation ?

2012-01-10 Thread Jérôme
Hi all. I started python and pygtk recently (a few weeks). For that I used Python 2.7 documentation http://docs.python.org/ python GTK2.0 tutorial http://pygtk.org/pygtk2tutorial/index.html Then, I decided to switch to pygobject. Two reasons for that : * The advice on pygtk.org : "New users

Re: [pygtk] PyGObject documentation

2009-06-21 Thread Gian Mario Tagliaretti
On Sun, Jun 21, 2009 at 3:08 PM, Jeffrey Barish wrote: > The PyGObject documentation at > > http://www.pygtk.org/docs/pygobject/gobject-functions.html > > seems to have shed about half its methods recently. moved to glib namespace http://www.pygtk.org/docs/pygobject/glib-functions.html cheers --

[pygtk] PyGObject documentation

2009-06-21 Thread Jeffrey Barish
The PyGObject documentation at http://www.pygtk.org/docs/pygobject/gobject-functions.html seems to have shed about half its methods recently. -- Jeffrey Barish ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinfo/pygtk Read