[ASLO] [Sugar-devel] Problem with new style of bars

Gonzalo Odiard gonzalo at laptop.org
Fri Apr 27 23:57:42 EDT 2012


You can do this, what is the problem?

Gonzalo

On Fri, Apr 27, 2012 at 11:40 PM, Alan Jhonn Aguiar Schwyn <
alanjas at hotmail.com> wrote:

>
> 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
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/aslo/attachments/20120428/f1bc5974/attachment.html>


More information about the ASLO mailing list