t.w.w.Presentation(Widget) : class documentation

Part of twisted.web.widgets View Source View In Hierarchy

Known subclasses: twisted.web.widgets.Page, twisted.web.widgets.Reloader, twisted.web.widgets.TitleBox

I am a widget which formats a template with interspersed python expressions.
Method __init__ Undocumented
Method addClassVars Undocumented
Method addVariables Undocumented
Method prePresent Perform any tasks which must be done before presenting the page.
Method formatTraceback Undocumented
Method streamCall Utility: Call a method like StreamWidget's 'stream'.
Method display Implement me to represent your widget.

Inherited from Widget:

Method getTitle Undocumented
def __init__(self, template=None, filename=None): (source)
Undocumented
def addClassVars(self, namespace, Class): (source)
Undocumented
def addVariables(self, namespace, request): (source)
Undocumented
def prePresent(self, request): (source)
Perform any tasks which must be done before presenting the page.
def formatTraceback(self, tb): (source)
Undocumented
def streamCall(self, call, *args, **kw): (source)
Utility: Call a method like StreamWidget's 'stream'.
def display(self, request): (source)

Implement me to represent your widget.

I must return a list of strings and twisted.internet.defer.Deferred instances.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 15:57:47.