Skip to content
Find file
8207326
17 lines (12 sloc) 472 Bytes
from pyjamas.ui.Sink import Sink, SinkInfo
from pyjamas.ui.HTML import HTML
class IntroTab(Sink):
def __init__(self):
text="<div class='infoProse'>Welcome to the Addons Gallery. "
text+="This app shows off the addon components for Pyjamas.</div>"
Sink.__init__(self)
self.setWidget(HTML(text, True))
def onShow(self):
pass
def init():
return SinkInfo("Intro", "<b>Introduction to the Addons Gallery</b>", IntroTab)
Jump to Line
Something went wrong with that request. Please try again.