Changes

no edit summary
Line 4: Line 4:  
<h3> How do I create a new activity that is derived from the base Activity class?</h3>
 
<h3> How do I create a new activity that is derived from the base Activity class?</h3>
   −
from sugar.activity import activity
+
"from sugar.activity import activity
 
class ToolbarExample(activity.Activity):
 
class ToolbarExample(activity.Activity):
    
     def __init__(self, handle):
 
     def __init__(self, handle):
         activity.Activity.__init__(self, handle)
+
         activity.Activity.__init__(self, handle)"
Anonymous user