Changes
Jump to navigation
Jump to search
Line 1:
Line 1:
− <h1>Class: Activity</h1>+
Line 12:
Line 12:
+
+
+
Development Team/Almanac/sugar.activity.activity (view source)
Revision as of 10:12, 29 May 2008
, 10:12, 29 May 2008→How do I create a new activity that is derived from the base Activity class?
The sugar.activity.activity package includes several important classes that are needed to run a basic activity.
The sugar.activity.activity package includes several important classes that are needed to run a basic activity.
== Class: Activity ==
=== How do I create a new activity that is derived from the base Activity class? ===
=== How do I create a new activity that is derived from the base Activity class? ===
def __init__(self, handle):
def __init__(self, handle):
activity.Activity.__init__(self, handle)
activity.Activity.__init__(self, handle)
== Class: ActivityToolbar ==
=== What is the standard toolbar needed in most activities and how do I create it? ===
=== What is the standard toolbar needed in most activities and how do I create it? ===