Changes

Line 9: Line 9:  
# Use the code below to guide you on how to then create your button programmatically and add it to a tool bar (we add it to an EditToolbar object that was presumably created already in our code).  
 
# Use the code below to guide you on how to then create your button programmatically and add it to a tool bar (we add it to an EditToolbar object that was presumably created already in our code).  
   −
 
+
        #### CUSTOM TOOL BUTTON
 
         from sugar.graphics.toolbutton import ToolButton
 
         from sugar.graphics.toolbutton import ToolButton
 
         ...
 
         ...
Anonymous user