Use the set_expanded() method of the ToolbarButton class.
Use the set_expanded() method of the ToolbarButton class.
my_toolbar_button.set_expanded(True)
my_toolbar_button.set_expanded(True)
+
+
When using pre-0.86 toolbars, use the set_current_toolbar() method:
+
+
self.toolbox.set_current_toolbar(1)
+
+
=== How do I set the icon search path for my toolbar button? ===
+
+
By default, the Sugar system icon folders and the icons subdirectory of your activity are searched. You can add additional directories to search as follows: