Changes
Jump to navigation
Jump to search
Line 3:
Line 3:
− <code>
Line 10:
Line 9:
− </code>
Development Team/Almanac/sugar.activity.activity (view source)
Revision as of 09:36, 29 May 2008
, 09:36, 29 May 2008no edit summary
<h1>Class: Activity</h1>
<h1>Class: Activity</h1>
<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
...
...
def __init__(self, handle):
def __init__(self, handle):
activity.Activity.__init__(self, handle)
activity.Activity.__init__(self, handle)