Back to index

moin  1.9.0~rc2
Public Member Functions | Public Attributes
MoinMoin.widget.dialog.Status Class Reference
Inheritance diagram for MoinMoin.widget.dialog.Status:
Inheritance graph
Collaboration diagram for MoinMoin.widget.dialog.Status:
Collaboration graph

List of all members.

Public Member Functions

def __init__
def render

Public Attributes


Detailed Description

Status widget

Use Status when you want to present to the user status information,
and no interaction needed.

A user might choose to turn of status display in his user pref (not
implemented yet).

Currently this is little more than wrapper around a string.

Definition at line 33 of file

Constructor & Destructor Documentation

def MoinMoin.widget.dialog.Status.__init__ (   self,
Initialize a dialog

@param request: current request
@keyword content: status message content

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 45 of file

00046     def __init__(self, request, **kw):
00047         """ Initialize a dialog
00049         @param request: current request
00050         @keyword content: status message content
00051         """
00052         base.Widget.__init__(self, request, **kw)
00053         self.content = kw.get('content', '')

Member Function Documentation

Reimplemented from MoinMoin.widget.base.Widget.

Definition at line 54 of file

00055     def render(self):
00056         return u'<p class="status">%s</p>\n' % unicode(self.content)

Member Data Documentation

Definition at line 52 of file

Definition at line 12 of file

The documentation for this class was generated from the following file: