[Sugar-devel] Problem with new style of bars

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Fri Apr 27 22:40:51 EDT 2012



Hi,
I'm trying to change an activity to the new system of bars (Sugar > 0.86)
http://git.sugarlabs.org/puntillismo/mainline
Someone knows how make this "old" objects in the new system?
gtk.Label()gtk.SpinButton()
I have this code, for example:
        item = gtk.ToolItem()        self.label= gtk.Label()        self.label.set_text('text of the label ')        item.add(self.label)        bar.insert(item, -1)
If someone like.. can send a patch :-)
Regards!
Alan 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120428/23ee5c80/attachment.html>


More information about the Sugar-devel mailing list