Development Team/Almanac/sugar.graphics.toolbox: Difference between revisions
No edit summary |
No edit summary |
||
| Line 26: | Line 26: | ||
#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> | |||