Changes
Development Team/Almanac/sugar.graphics.toolbox (view source)
Revision as of 13:45, 2 October 2008
, 13:45, 2 October 2008no edit summary
#Set the active toolbar using an integer index assigned to each toolbar in your activity.
#Set the active toolbar using an integer index assigned to each toolbar in your activity.
self.toolbox.set_current_toolbar(1);
self.toolbox.set_current_toolbar(1);
=== How do I remove the separator at the bottom of my toolbar? ===
In your activity subclass, do the following:
<pre>
self.toolbox = activity.ActivityToolbox(self)
self.set_toolbox(self.toolbox)
self.toolbox.remove(self.toolbox._separator)
</pre>