Development Team/Almanac/sugar.activity.activity: Difference between revisions
| Line 1: | Line 1: | ||
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? === | ||
| Line 12: | Line 12: | ||
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? === | ||