Python en GNOME Bonobo (II) Componentes Bonobo escritos en Python import bonobo import gtk def control_factory (factory, object_id): label = gtk.GtkLabel ("Sample Control") label.show() return bonobo.BonoboControl (label) bonobo.BonoboGenericFactory ( "OAFIID:GNOME_SampleControlFactory", control_factory) bonobo.main ()