Re: [pygtk] gtk/pygobject api question

2011-03-07 Thread Tomeu Vizoso
On Fri, Mar 4, 2011 at 21:38, Andrew Steele wrote: > You can still specify arguments at construction time, e.g. sizegroup = > Gtk.SizeGroup(mode=Gtk.SizeGroupMode.BOTH). The important thing to remember > is to 'name' the argument with 'mode='. > > As for you're other questions, I'd be interested t

Re: [pygtk] gtk/pygobject api question

2011-03-04 Thread John Stowers
On Fri, 2011-03-04 at 21:32 +0100, Tom Cato Amundsen wrote: > It is explained somewhere how the API will change from pygtk to > gtk+pygobject? I'm trying to port GNU Solfege using python-gobject > 2.27.91 and gobject-introspection 0.10.3 in ubuntu natty. > > With pygtk I would do this: >si

Re: [pygtk] gtk/pygobject api question

2011-03-04 Thread Andrew Steele
You can still specify arguments at construction time, e.g. sizegroup = Gtk.SizeGroup(mode=Gtk.SizeGroupMode.BOTH). The important thing to remember is to 'name' the argument with 'mode='. As for you're other questions, I'd be interested to know myself whether arguments will be optional at some poin

[pygtk] gtk/pygobject api question

2011-03-04 Thread Tom Cato Amundsen
It is explained somewhere how the API will change from pygtk to gtk+pygobject? I'm trying to port GNU Solfege using python-gobject 2.27.91 and gobject-introspection 0.10.3 in ubuntu natty. With pygtk I would do this: sizegroup = gtk.SizeGroup(gtk.SIZE_GROUP_HORIZONTAL) With gtk + pygobject