Re: [pygtk] gnome.ui.Client connect shadows signal_connect

2003-08-08 Thread Christian Reis
On Fri, Aug 08, 2003 at 03:43:53PM +0100, Stephen Kennedy wrote: > > > > self.client = gnome.ui.Client() > > > self.client.connect() # connect to session > > Note that this call shouldn't work if Client() inherits from GObject. > > Client does inherit from gtk.Object. Why wouldn't

[pygtk] Gobject properties to PyObject attributes mapping

2003-08-08 Thread Iñaki García Etxebarria
Howdy everyone, Attached goes a patch against pygtk 1.99.17 that lets you do things like --- label = gtk.Label() label.label = 'Hello World' # Changes the label in the gui print label.label # prints 'Hello World' --- for any gobject. I.e., setting gobject properties as if they were regular attribu