Changes

Jump to navigation Jump to search
no edit summary
Line 5: Line 5:     
The following code creates a simple activity called ToolbarExample:
 
The following code creates a simple activity called ToolbarExample:
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

Navigation menu