Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Development Team/Almanac/sugar.graphics.toolbox
(view source)
Revision as of 21:32, 23 February 2010
277 bytes added
,
21:32, 23 February 2010
m
moved
Walter is a wanker 12/Almanac/sugar.graphics.toolbox
to
Development Team/Almanac/sugar.graphics.toolbox
over redirect: revert
Line 1:
Line 1:
+
{{Almanac}}
+
{{Almanac TOC}}
= Class: Toolbox([http://www.pygtk.org/docs/pygtk/ gtk.VBox]) =
= Class: Toolbox([http://www.pygtk.org/docs/pygtk/ gtk.VBox]) =
Line 24:
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>
Patrol
Bots
,
Bureaucrats
,
Administrators
123
edits