sugar-toolkit-gtk3/tests/data/sample.activity/activity.py
2013-06-11 15:29:20 +02:00

10 lines
233 B
Python

from gettext import gettext as _
from sugar3.activity import activity
class SampleActivity(activity.Activity):
def __init__(self, handle):
activity.Activity.__init__(self, handle)
self._text = _("Text string")