You can do this, what is the problem?<div><br></div><div>Gonzalo<br><br><div class="gmail_quote">On Fri, Apr 27, 2012 at 11:40 PM, Alan Jhonn Aguiar Schwyn <span dir="ltr"><<a href="mailto:alanjas@hotmail.com" target="_blank">alanjas@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr">
<div><br></div><div>Hi,</div><div><br></div><div>I'm trying to change an activity to the new system of bars (Sugar > 0.86)</div><div><br></div><div><a href="http://git.sugarlabs.org/puntillismo/mainline" target="_blank">http://git.sugarlabs.org/puntillismo/mainline</a></div>
<div><br></div><div>Someone knows how make this "old" objects in the new system?</div><div><br></div><div>gtk.Label()</div><div><span style="font-size:10pt">gtk.SpinButton()</span></div><div><span style="font-size:10pt"><br>
</span></div><div><span style="font-size:10pt">I have this code, for example:</span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt"><div> item = gtk.ToolItem()</div><div> self.label= gtk.Label()</div>
<div> self.label.set_text('text of the label ')</div><div> item.add(self.label)</div><div> bar.insert(item, -1)</div></span></div><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">If someone like.. can send a patch :-)</span></div>
<div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">Regards!</span></div><span class="HOEnZb"><font color="#888888"><div><span style="font-size:10pt"><br></span></div><div><span style="font-size:10pt">Alan</span></div>
</font></span></div></div>
<br>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>